简体   繁体   中英

Can't able to change JDK 1.5.0 to JDK 1.7.0 in android studio

I can't change the JDK Version on android studio, even though I gave correct JDK path from 1.5 to 1.7. It will change back to the old path for 1.5, and due to this I can't build the project.

I have even tried changing environmental variable using JDK_HOME .

Changing to my current JDK Version

Selecting JDK 1.7

I would try deleting the old JDK's and reinstalling only the newer so that I can't pick the old one. (Also try just deleting the old one first, but I suspect this problem may have to do with the new one being corrupt in some way.) Also try saving your projects elsewhere and then reinstalling Android Studio.

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