Reputation: 69
I just installed my Android Studio 2.2, but I keep getting an error message saying
"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"
I have tried all I could but its still not working. Check the attached image to see a screenshot of my android studio android studio showing Error:CreateProcess error=216
Upvotes: 4
Views: 4501
Reputation: 342
You have to change the jdk location in project structure
Follow those steps
Go to file -> project structure -> sdk location
Unselect Use embedded jdk(recommended)
Then Change the jdk location to C:\Program Files\java\jdk1.8.0_101
Then click OK and wait for the build to finish
Upvotes: 2
Reputation: 438
Try this solution by @user6442395
1) Install jdk1.8...
2) In AndroidStudio File->Project Structure->SDK Location, select your directory where the JKD is located, by default Studio uses embedded JDK but for some reason it produces error=216.
3) Click Ok.
Upvotes: 3