Requirements check failed for JDK 8 ('1.8.*')! Detected version: 13.0.2

Asked

Viewed 1,194 times

-3

Please help me out! I don’t know what else to do... I’ve read all the help that talks about it and so far I haven’t been able to solve it!

Tiagos-iMac:app Tiago$ Cordova run android Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=/Users/Tiago/Library/Android/ (Recommended Setting) ANDROID_HOME=/Users/Tiago/Library/Android/ (DEPRECATED) Requirements check failed for JDK 8 ('1.8.*')! Detected version: 13.0.2 Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH Environment variables. Tiagos-iMac:app Tiago$

How can I fix this?

.bash_profile

export JAVA_HOME=$(/usr/libexec/java_home)

PATH=$PATH:$HOME/Library/Android/Sdk/emulator
PATH=$PATH:$HOME/Library/Android/Sdk/tools
PATH=$PATH:$HOME/Library/Android/Sdk/tools/bin
PATH=$PATH:$HOME/Library/Android/Sdk/platform-tools
export ANDROID_SDK_ROOT=$HOME/Library/Android/


PATH=$PATH:$HOME/Library/Android/Sdk/emulator
PATH=$PATH:$HOME/Library/Android/Sdk/tools
PATH=$PATH:$HOME/Library/Android/Sdk/tools/bin
PATH=$PATH:$HOME/Library/Android/Sdk/platform-tools
export ANDROID_HOME=$HOME/Library/Android/

export ANDROID_AVD_HOME=~/.android/avd
export PATH=$PATH:/opt/gradle/gradle-6.1/bin

Java

Tiagos-iMac:~ tiago$ java -version
java version "13.0.2" 2020-01-14
Java(TM) SE Runtime Environment (build 13.0.2+8)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)
Tiagos-iMac:~ tiago$ 

1 answer

-2

Whoever has the same problem, remove all installed java.

and when installing, you should use the development java.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.