Hi,
So… I’m using v2 for a project and I’m constantly having Ionic, Cordova, Java and Android errors.
Can you please help? I got this far, this is my current problem…
C:\Users*\Dropbox*****>ionic platform build android
Installed platforms:
android 6.1.2
Available platforms:
amazon-fireos ~3.6.3 (deprecated)
blackberry10 ~3.8.0
browser ~4.1.0
firefoxos ~3.6.3
webos ~3.7.0
windows ~4.4.0
wp8 ~3.8.2 (deprecated)
C:\Users*\Dropbox*>ionic build android
Running command: C:\Downloads\NodeJS\node.exe C:\Users*\Dropbox*\hooks\after_prepare\010_add_platform_class.js C:\Users*\Dropbox*******
add to body class: platform-android
ANDROID_HOME=C:\Downloads\Android\
JAVA_HOME=C:\Downloads\JDK
Subproject Path: CordovaLib
Incremental java compilation is an incubating feature.
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘android’.You have not accepted the license agreements of the following SDK components:
[SDK Patch Applier v4, Google Repository, Android Support Repository].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to Exporting licenses - Android Studio Project Site
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 20.593 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘android’.You have not accepted the license agreements of the following SDK components:
[SDK Patch Applier v4, Google Repository, Android Support Repository].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to Exporting licenses - Android Studio Project Site
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Thanks!