Checking the Java JDK and the Android SDK versions
ANDROID_SDK_ROOT=undefined (it setting)
ANDROID_HOME=D: \ Tools \ SDK (DEPRECATED)
Task: wrapper
BUILD SUCCESSFUL in 23 s
1 the actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
FAILURE: the Build failed with an exception.
* What went wrong:
A problem occurred you project ': app'.
Failed to install the following Android SDK packages as some licences have not had been accepted.
Platforms; Android - 28 android SDK Platform 28
To build this project, the accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
Using the Android SDK: D: \ Tools \ SDK
* Try:
Run with -- stacktrace option to get the stack trace. Run with -- the info or -- debug option to get more the log output. The Run with -- scan to get full insights.
* Get more help at https://help.gradle.org
The BUILD FAILED in 29 s
D: \ myApp/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: the Build failed with an exception.
* What went wrong:
A problem occurred you project ': app'.
Failed to install the following Android SDK packages as some licences have not had been accepted.
Platforms; Android - 28 android SDK Platform 28
To build this project, the accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
Using the Android SDK: D: \ Tools \ SDK
* Try:
Run with -- stacktrace option to get the stack trace. Run with -- the info or -- debug option to get more the log output. The Run with -- scan to get full insights.
* Get more help at https://help.gradle.org
The BUILD FAILED in 29 s
Configure project: app
Checking the license for the package of the Android SDK Platform 28 in D: \ Tools \ SDK \ license
CodePudding user response:
Signing certificate, certificate or use new signature packaging