出现错误提示去查看日志文件,然后我到C:\Users\PC\AppData\Local\Android\Sdk\tools\lib\monitor-x86_64\configuration后打开日志文件发现错误信息是
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
问题原因:
原因是Android studio还不支持Java 9
两个解决方案如下:
因为最新的Android Studio捆绑包带有自己的JRE(自己安装的Android Studio路径,这个是我的C:\Program Files\Android\Android Studio\jre)。
因此,您只需复制此jre文件夹并将其粘贴到此处: Android Studio tools路径C:\Users<Username>\AppData\Local\Android\Sdk\tools\lib\monitor-x86_64