Android Studio - JDK Problems, Android Studio Meltdown

送分小仙女□ 提交于 2019-12-04 02:09:45

问题


After I updated my Java JDK 8 from Update 40 to 45, all of my projects opened with errors. You know, the red letters over code. When I hit "Alt+Enter" it says to Setup JDK. I've tried uninstalling Java and Android Studio and came up with the same result.

I've also tried using Java JDK 7 Update 80 but still come up with the same problems.

Please look at these pictures because I don't think I have done a good job explaining the problem.


http://i.stack.imgur.com/YaMar.png

http://i.stack.imgur.com/gc02g.png

Please help me because otherwise I don't see how I can develop android apps anymore. Any help, ANY HELP is appreciated. Thanks.


回答1:


After uninstalling everything possible and trying various Java versions I found a solution. Java JDK 7 Update 80 works fine with Android Studio.

In my opinion Android Studio should support all versions of Java, but that's just me.



来源:https://stackoverflow.com/questions/29723179/android-studio-jdk-problems-android-studio-meltdown

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!