

That’s it now you can proceed normally with app deployment on ionic CLI. Now check the platform number on popup window same shown in error then click on apply to install. Open Android Studio then go to tools then click on SDK Manager Then hit enter, then you will be asked to accept term & conditions with Y input. C:\Users\\AppData\Local\Android\Sdk\tools\bin\sdkmanager "platforms android-28" Open CMD, then change to the directory where Android Studio is installed. Let’s get to know how to resolve this issue using two methods by CLI and Android studio’s SDK Manager.

As you can see in CLI error the version of the platform is 28. So to continue building APK files or debug ionic applications we need to install the API version given in error. This type of error comes as we have not installed or accepted the updated API version on Android studio’s SDK manager. To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.Īlternatively, to transfer the license agreements from one workstation to another, see Platforms android-28 Android SDK Platform 28

> Failed to install the following Android SDK packages as some licences have not been accepted. How to accept all necessary Android SDK licenses Solution Go to PS C:UsersAppDataLocalAndroidSdktoolsbin> Run. How To Fix 'Unknown failure: cmd: Can't find service: package' in Android StudioĪ problem occurred configuring project ‘:app’.
