Android设备屏幕上点击时的Andr​​oid Studio错误 [英] Android Studio error when clicking on Android device monitor

查看:915
本文介绍了Android设备屏幕上点击时的Andr​​oid Studio错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有在Android Studio中此错误每当我点击Android设备监视器:

I am having this error in android studio whenever i click on Android Device Monitor:

---------------------------
Monitor
---------------------------
An error has occurred. See the log file
C:\Users\<user>\AppData\Local\Android\android-studio\sdk\tools\lib\monitor-x86_64\configuration\1413432754457.log.
---------------------------
Aceptar   
---------------------------

和日志文件中包含的:

!SESSION 2014-10-15 23:12:34.229 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_67
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=es_CO
Command-line arguments:  -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2014-10-15 23:12:34.641
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

请帮帮我,它不开放式的SDK管理器,设备监控和AVD管理器。

Please help me, It doesn't open SDK Manager, Device Monitor and AVD Manager.

推荐答案

我加入这个答案,因为我认为这将有助于未来的游客。

I am adding this answer because I think this will be helpful to future visitors.

我遇到了同样的问题,并设法解决它。然而,我的解决办法是从已经提到的不同。

I ran into the same problem, and managed to solve it. However, My solution is different from the one already mentioned.

首先,在 monitor.ini 文件中的 C:\\用户\\\\应用程序数据\\本地\\ Android的\\ SDK \\工具\\ lib目录\\监控-x86_64的的config.ini 文件中的 ./配置文件夹

First of all, the monitor.ini file is in C:\Users\\AppData\Local\Android\sdk\tools\lib\monitor-x86_64 and config.ini file is in ./configuration folder

当我检查日志文件它说(在文件的最后):

When I checked log file it said (at the very end of file) :

java.io.IOException异常:文件夹
  C:\\用户\\ .android \\监视器workspace.metadata是
  只读的。

java.io.IOException: The folder "C:\Users\.android\monitor-workspace.metadata" is read-only.

于是我跑了 MONITOR.EXE 以管理员身份它工作得很好。

So I ran the monitor.exe as Administrator and it worked fine.

接下来,我跑了Android的工作室为管理员和ADM按钮正常工作。

Next I ran Android Studio as Admin and the ADM button worked fine.

这篇关于Android设备屏幕上点击时的Andr​​oid Studio错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆