简体   繁体   中英

Android Studio - JDK Problems, Android Studio Meltdown

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.

图片1
http://i.stack.imgur.com/YaMar.png

图片2 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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM