Error: Buildtools 24.0.1 requires Java 1.8 or above. Current JDK version is 1.7.
The above error showing when i start Android Studio for first time.
Reason :
jdk path mapped in project structure is older jdk version(here below 1.7).
Soution :
Need to install jdk 1.8 in your system and map it in program structure of your project in Android studio.
Below images for your reference:
Right click on your project folder (for me its app) or click F4
Your jdk path may be mapped below jdk 1.8 version as below,
Map your jdk 1.8 or above version as installed on your system.
No comments:
Post a Comment