Andriod Studio 出现An error has occurred.See the log file错误解决

出现错误提示去查看日志文件,然后我到C:UsersPCAppDataLocalAndroidSdk oolslibmonitor-x86_64configuration后打开日志文件发现错误信息是

java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).

百度了好久,都是eclipse上出现的问题,无奈之下去stackoverflow查了一下,还以为查不到,没想到竟然查到了

地址:https://stackoverflow.com/questions/46577610/android-device-monitor-not-opening

解决方法:原因是Android studio还不支持Java 9,安装比9小的版本就可以了。

不记得自己JDK是什么版本了,cmd-java -version 发现自己的真的是Java 9。。。好坑爹,只好下个JDK8

原文地址:https://www.cnblogs.com/furaywww/p/9057896.html