Check your JAVA_HOME
to use jdk 1.8
Also check : the parameter in Android Studio in order to change at
File->Other Settings->Default Project Structure->SDKs
More Related Contents:
- How to debug why a Gradle build failed?
- How to completely uninstall Android Studio from windows(v10)?
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- How to Add Stacktrace or debug Option when Building Android Studio Project
- Using Build Flavors – Structuring source folders and build.gradle correctly
- Android Camera Preview Stretched
- gradle – library duplicates in dependencies
- Why is Android Studio reporting “URI is not registered”? [closed]
- Android Studio – Importing external Library/Jar
- Integrate ZXing in Android Studio
- findFragmentById for SupportMapFragment returns null in Android Studio
- Which Android IDE is better – Android Studio or Eclipse? [closed]
- Sign APK without putting keystore info in build.gradle
- Android Studio: Application Installation Failed
- How to use the ProGuard in Android Studio?
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’ in android studio
- Android device is not connected to USB for debugging (Android studio)
- Android studio 1.0.2 not building app:mergeDebugResources error
- Emulator: Warning: Quick Boot / Snapshots not supported on this machine
- Android Studio: Android Manifest doesn’t exists or has incorrect root tag
- Android studio: why are minSdkVersion and targetSdkVersion specified both in AndroidManifest.xml and build.gradle?
- Difference between app-debug.apk and app-debug-unaligned.apk
- Gradle failed to sync with ‘unable to find optional library’
- How to push android project to github with this error is given below?
- Difference between Android Instrumentation test and Unit test in Android Studio?
- SDK Location not found in android studio
- What do these Android logcat warnings mean?
- Java.lang.ClassNotFoundException after Android studio update
- Manually adding aar with dependency pom/iml file
- Android Studio (Dolphin | 2021.3.1) & (Electric Eel | 2022.1.1) does not show layout preview