Olá,
sempre que utilizo o comando 'cordova run android', a mensagem abaixo é exebida:
garconapp$ cordova run android
ANDROID_HOME=/home/rafael/Public/apps/android-sdk-linux
JAVA_HOME=/usr/lib/jvm/java-9-oracle
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Failed to notify project evaluation listener.
> Could not initialize class com.android.sdklib.repositoryv2.AndroidSdkHandler
* 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: 1.342 secs
Error: /home/rafael/code/alura/curso-cordova/garconapp/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Failed to notify project evaluation listener.
> Could not initialize class com.android.sdklib.repositoryv2.AndroidSdkHandler
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.