You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/05/07 11:41:07 UTC

[GitHub] [cordova-android] mcfarljw edited a comment on issue #1221: Cordova isn't detecting java 8 jdk when a more recent version is installed

mcfarljw edited a comment on issue #1221:
URL: https://github.com/apache/cordova-android/issues/1221#issuecomment-834042419


   I don't know if it's related or not but a few days ago there was a big Android Studio update and that is when mine stopped working as well. Mine is spouting a different detected version as I was previously using whatever they provided.
   
   ```
   export JAVA_HOME="/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home"
   export ANDROID_SDK_ROOT="$HOME/Library/Android/sdk"
   export PATH="$ANDROID_SDK_ROOT/platform-tools:$PATH"
   export PATH="$ANDROID_SDK_ROOT/tools/bin:$PATH"
   
   Requirements check failed for JDK 1.8.x! Detected version: 11.0.8
   ```
   
   @breautek tried downgrading to `cordova-android@9.0` and still having the same issue. My guess is that some auto updated with java recently, whether it be related to Android Studio or not, that is causing the issue.


-- 
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



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