问题
I've tried setting up all the paths what all were suggested by programmers in the following link enter link description here But still i'm getting the error. I've have attached an image regarding this, if anyone faced the same problem and were able to solve them , please do send in the procedure to solve this problem.
My Environment Variables are as follows:
--------SYSTEM VARIABLES--------------
PATH: C:\Program Files\Java\jdk1.7.0\bin; JDK_HOME:C:\Program Files\Java\jdk1.7.0_79 JAVA_HOME:C:\Program Files\Java\jdk1.7.0_79
also that I'm even having 2 JDKs installed "jdk1.7.0" and jdk"1.7.0_79" , will this make any difference ?
回答1:
Had the same problem. Just quit Android Studio installer, reboot after installing java sdk and restart Android Studio installert. Worked for me.
来源:https://stackoverflow.com/questions/30502119/could-not-detect-jdk-in-the-android-studios-installation