When setting up Android Studio on Ubuntu you might get the following error message:
‘tools.jar’ is not in the Android Studio classpath.
Please ensure JAVA_HOME points to JDK rather than JRE.
This is caused by having JAVA JRE installed as opposed to JAVA JDK.
The solution is simple:
sudo apt-get install openjdk-7-jdk
本文介绍了如何解决在Ubuntu上使用Android Studio时遇到的'tools.jar'不在类路径中的错误。该问题通常由安装了JRE而非JDK引起。文章提供了简单的解决方案:安装openjdk-7-jdk。
639

被折叠的 条评论
为什么被折叠?



