简体   繁体   中英

Android Studio: Cannot load class from tools.jar / major.minor version 52.0

it seems as if similar questions have been asked and solved, but I can't get the offered solutions to work.

I am using Xubuntu based on Ubuntu 14.04.5, and have several JDKs installed, all under /usr/lib/jvm/. OpenJDK 6 /usr/lib/jvm/. OpenJDK 6 and 7 were already installed by default, I added the official Oracle / Sun JDK 1.8.0_102, which I am intending to work with.

JAVA_HOME is set to /usr/lib/jvm/jdk1.8.0_102 according to https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/ (not much of an effort, though). Also, PATH includes /usr/lib/jvm/jdk1.8.0_102/bin.

On startup, Android Studio throws an error popup as seen in the screenshot. ( http://abload.de/image.php?img=screenshot-10.08.2016t4set.png )

I have also had a look into the config files of Android Studio, but could not make out what I could alter there.

Do you have any suggestions?

Kind Regards

Dennis

删除app / build文件夹去构建和清理项目并重新构建

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