Please validate either ANDROID_STUDIO_JDK or JDK_HOME or JAVA_HOME points to valid JDK installation.
You get this error when you try to open Android Studio on Windows Operating System when the IDE is not able to find Java in the system.
- If you do not have JDK installed download it and get it installed.
- If Java JDK is already installed you should find it at C:\Program Files\Java\jdk1.x.x_xx
- Go to Start → Computer → System Properties → Advanced System Properties → Advance → Environment Variables
- Add new variable : Variable Name : JAVA_HOME,Variable value : C:\Program Files\Java\jdk1.x.x_xx
- Add (append) new system variable : Variable Name : PATH , Variable value : ;C:\Program Files\Java\jdk1.x.x_xx\bin
More Posts related to Android-Studio,
- Step-by-Step: How to install Flutter in Android Studio
- [Android Studio] How to locate code for activity_main.xml
- [Event Log] Android Studio performance could be improved
- Android Studio emulator/Device logCat logs not displayed
- Show Android Studio Emulator in a Separate Window
- Android Studio SDK Build-tools 23 rc2 not getting installed
- Android Emulator Screenshot saved location
- [Android Studio] Error: Missing system image on device
- Android Studio NoClassDefFoundError: java.awt.Toolkit
- Android [SDK Manager] The system cannot find the path specified
- [Android Studio] Could not automatically detect an ADB binary
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip
- [Android Studio] MainActivity does not exist
- How to enable line numbers in IntelliJ Android Studio for all files
- Android Studio - Installed build tools revision 31.0.0 is corrupted. Remove and install again using the SDK manager.
- Android Studio setup was canceled - How to resume
- Your Android SDK is missing, out of date or corrupted SDK Problem
- Locate MainActivity Java or Kotlin file in Android Studio
- How to Determine Android Studio Gradle Version
- Delete Android Studio Projects
- [Android Studio] Button on click example
- Create assets folder in Android Studio
- Disabling Spell Check in Android Studio
- How to save IntelliJ IDE Console logs to external log file
- How to install Android Studio Chipmunk and SDK tools on macOS (2021.2)
More Posts:
- cURL Option to show HTTP Response Status Code - cURL
- How to Find Where Mac Terminal App is Located? - MacOS
- Download Google Chrome setup exe file using PowerShell - Powershell
- How to install pip on macOS using terminal command [Python] - Python
- Blank Operations in Notepad++ - NotepadPlusPlus
- Spring Boot: Transactions Management with JDBCTemplate Example - Java
- How to locate Python Installation on Windows (10/11) - Windows
- Show Notepad++ tabs in multiple lines instead of scroll on tab bar - NotepadPlusPlus