Had the following error in Eclipse after installing Android 5.0 (SDK 21)
"Loading data for Android 5.0" has encountered a problem.
Parsing Data for android-21 failed
unsupported major.minor version 51.0
Try installing JDK 1.8 and reload Eclipse.
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Initially I was facing the same issue. I upgraded to JDK1.7. Still issue persist. This is due to the fact that some time eclipse takees the default sdk as 1.6. To resolve this:
Change the environmental path to point 1.7/1.8
Open Eclipse and goto windows tab-> preference
Goto Java->complier and set Compiler compliance level to 1.7 and press apply.
Then Goto Installed JRE Section. check if the installed jdk is listed and selected in the list. If not listed give the manual path using search. then select the jdk version and remove other versions in the list.
in installed JRE go to execution environment and select the intended java se version and check it in compatible section
Presss ok and restart Eclipse.
This should resolve the issue.
I tried all above mention step, but not able to solve the problem.
After some research, I got Solution of my problem.
check eclipse.ini to see -vm, (like "C:/Program Files/Java/jre7/bin/javaw.exe").
i also have the problem you said and i found eclipse is started with java6. after i modify to use java7, there are no such fail dialog.
So need to update SDK to 1.8 or 1.7.
set compiler to 1.7 or 1.8..
then check eclipse.ini
Installing JDK 1.8 and reload Eclipse worked for me
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Related
Installed Android Studio 2.2 Preview 2 and getting this error:
Error:CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher
Screenshot:
I re-installed the JDK, still same issue.
I even tried to use the embedded JDK but still having the same issue:
I had the same issue, but I have resolved it the next:
1) Install jdk1.8...
2) In AndroidStudio File->Project Structure->SDK Location, select your directory where the JDK is located, by default Studio uses embedded JDK but for some reason it produces error=216.
3) Click Ok.
REASON
This happens because for now they only ship 64bit JRE with Android Studio for Windows which produces glitches in 32 bit systems.
SOLUTION
do not use the embedded JDK: Go to File -> Project Structure dialog, uncheck "Use embedded JDK" and select the 32-bit JRE you've installed separately in your system
decrease the memory footprint for Gradle in gradle.properties(Project Properties), for eg set it to -Xmx768m.
For more details: https://code.google.com/p/android/issues/detail?id=219524
i think android studio has a 64bit kernel version which is giving the problem.
https://github.com/swcarpentry/windows-installer/issues/49
Don't worry... Its much easy to solve your problem. Just SET you SDK-LOCATION and JDK-LOCATION.
Click on Configure ( As Soon Android studio open )
Click Project Default
Click Project Structure
Clik Android Sdk Location
Select & Browse your Android SDK Location (Like: C:\Android\sdk)
Uncheck USE EMBEDDED JDK LOCATION
Set & Browse JDK Location, Like C:\Program Files\Java\jdk1.8.0_121
Installed Android Studio 2.2 Preview 2 and getting this error:
Error:CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher
Screenshot:
I re-installed the JDK, still same issue.
I even tried to use the embedded JDK but still having the same issue:
I had the same issue, but I have resolved it the next:
1) Install jdk1.8...
2) In AndroidStudio File->Project Structure->SDK Location, select your directory where the JDK is located, by default Studio uses embedded JDK but for some reason it produces error=216.
3) Click Ok.
REASON
This happens because for now they only ship 64bit JRE with Android Studio for Windows which produces glitches in 32 bit systems.
SOLUTION
do not use the embedded JDK: Go to File -> Project Structure dialog, uncheck "Use embedded JDK" and select the 32-bit JRE you've installed separately in your system
decrease the memory footprint for Gradle in gradle.properties(Project Properties), for eg set it to -Xmx768m.
For more details: https://code.google.com/p/android/issues/detail?id=219524
i think android studio has a 64bit kernel version which is giving the problem.
https://github.com/swcarpentry/windows-installer/issues/49
Don't worry... Its much easy to solve your problem. Just SET you SDK-LOCATION and JDK-LOCATION.
Click on Configure ( As Soon Android studio open )
Click Project Default
Click Project Structure
Clik Android Sdk Location
Select & Browse your Android SDK Location (Like: C:\Android\sdk)
Uncheck USE EMBEDDED JDK LOCATION
Set & Browse JDK Location, Like C:\Program Files\Java\jdk1.8.0_121
Installed Android Studio 2.2 Preview 2 and getting this error:
Error:CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher
Screenshot:
I re-installed the JDK, still same issue.
I even tried to use the embedded JDK but still having the same issue:
I had the same issue, but I have resolved it the next:
1) Install jdk1.8...
2) In AndroidStudio File->Project Structure->SDK Location, select your directory where the JDK is located, by default Studio uses embedded JDK but for some reason it produces error=216.
3) Click Ok.
REASON
This happens because for now they only ship 64bit JRE with Android Studio for Windows which produces glitches in 32 bit systems.
SOLUTION
do not use the embedded JDK: Go to File -> Project Structure dialog, uncheck "Use embedded JDK" and select the 32-bit JRE you've installed separately in your system
decrease the memory footprint for Gradle in gradle.properties(Project Properties), for eg set it to -Xmx768m.
For more details: https://code.google.com/p/android/issues/detail?id=219524
i think android studio has a 64bit kernel version which is giving the problem.
https://github.com/swcarpentry/windows-installer/issues/49
Don't worry... Its much easy to solve your problem. Just SET you SDK-LOCATION and JDK-LOCATION.
Click on Configure ( As Soon Android studio open )
Click Project Default
Click Project Structure
Clik Android Sdk Location
Select & Browse your Android SDK Location (Like: C:\Android\sdk)
Uncheck USE EMBEDDED JDK LOCATION
Set & Browse JDK Location, Like C:\Program Files\Java\jdk1.8.0_121
I trying to browse JDK from C:\Program Files\Java\jdk1.7.0_79\bin but still showing me this error
first of all used this version of JDK if you used for android studio
jdk-8u60-windows-x64/32 regarding your os,
jre-8u60-windows-x64
install both JDK & JRE and set ENVIREMENT_VARIABLE,
if you dont know how to set, you can find it link here
I don't know why am getting this error.
I tried changing the java version and still didn't work.
Anyway resolving this problem?
http://i.stack.imgur.com/Ky2TX.png
You need install JDK 1.8 and set the java compiler to 1.8
Also can check this link for same issue.
Android - "Parsing Data for android-21 failed"
Open your SDK Manager and install Android 5.1.1 (API22). Make sure you are connected to the internet. After installation, restart the SDK Manager and see if there are any Updates available.