Android Studio installation on Windows 7 fails, no JDK found

后端 未结 29 1717
鱼传尺愫
鱼传尺愫 2020-11-22 04:48

I downloaded Android Studio and attempted to launch the program.

This is running on Windows 7 64-bit with Java 1.7. During the installation my Java 1.7 is detected,

29条回答
  •  死守一世寂寞
    2020-11-22 05:26

    Windows 64 bit, JDK 64 bit (Solution that worked for me) Tried all the above solutions, None of them worked, I have been trying to solve it from past few days and now i done it successfully.For me the problem was, when i first installed Android Studio my JDK version was 1.7, then after installing i updated the JDK to 1.8,then i removed old JDK folder and everything was messed up, even uninstalling and reinstalling android studio randomly didn't solved the issue.

    Below is the solution that worked for me

    1) Uninstall Android Studio.

    2) clean temp files and android studio C:\Users\Username.AndroidStudio1.5

    3) Uninstall JDK.

    4) Now without JDK try to install Android Studio and now it will show message that it cant find any JDK. Stop installation

    5) Install JDK 1.7 or 1.8 (Set JAVA_HOME,JDK_HOME,path Environment variables as explained by everybody above)

    6) Install Android Studio.

    7) Done. Enjoy and happy coding.

提交回复
热议问题