You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/03/30 17:31:08 UTC

[GitHub] [cordova-android] breautek commented on issue #797: Unable to build/run cordova android 8.0.0

breautek commented on issue #797: Unable to build/run cordova android 8.0.0
URL: https://github.com/apache/cordova-android/issues/797#issuecomment-606136716
 
 
   >Checking Java JDK and Android SDK versions
   ANDROID_SDK_ROOT=/home/pc/Library/Android/sdk (recommended setting)
   ANDROID_HOME=/home/pc/Android/Sdk (DEPRECATED)
   Requirements check failed for JDK 8 ('1.8.*')! Detected version: 11.0.6
   Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.
   
   You path for java points to Java11. Android requires Java8. You'll need to install and point your `JAVA_HOME`/`PATH` variables to a java8 installation.
   
   > A problem occurred evaluating project ':app'.
   > Failed to apply plugin [id 'com.android.internal.version-check']
      > Minimum supported Gradle version is 5.6.4. Current version is 4.10.3. If using the gradle wrapper, try editing the distributionUrl in /Users/xxx/src-cordova/gradle/wrapper/gradle-wrapper.properties to gradle-5.6.4-all.zip
   
   This is caused by updating your android studio to a newer version. 8.x only supports gradle 4.x, but the latest version of android studio requires 5.6.x. Unfortunately 9.x is still in the works, but it supports the latest version of gradle. You can try using `cordova-android@nightly` or install from git directly as a quick workaround.
   
   There's been a lot of comments that isn't actually related to the original post, so I'll be locking this thread. If you have found a bug, please do open a new ticket so that we can track the issues. If you have a support issue, then I would encourage you to use our [slack](http://slack.cordova.io/)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org