ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.8.0_102
Obviously, you are misconfigured.
it's my pc JAVA_HOME.
JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.8.0_202\bin
JAVA_HOME
shouldn’t point to the bin
directory. It should point to the JDK installation path.
It should be: C:\Program Files\Java\jdk1.8.0_202
, also you don't need JRE if you already have %JAVA_HOME%\bin
, see https://www.baeldung.com/java-home-on-windows-7-8-10-mac-os-x-linux
Related Topics
Failed to Resolve: Com.Google.Firebase:Firebase-Core:16.0.1
Preemptive Basic Auth with Httpurlconnection
Import Google Play Services Library in Android Studio
Duplicated Entries in Listview
Universal Way to Write to External Sd Card on Android
How to Remove All Callbacks from a Handler
Hosting an Executable Within Android Application
How to Download Older Google Play Services
Full Screen Videoview Without Stretching the Video
How to Select and Crop an Image in Android
Android Archive Library (Aar) VS Standard Jar
Asynctask.Executeonexecutor() Before API Level 11
Android: Dex Cannot Parse Version 52 Byte Code
Reading a JSON Array in Android
String.Equals() with Multiple Conditions (And One Action on Result)
Android Timer Updating a Textview (Ui)