java运行安卓程序不显示,java – Android设备监视器无法打开

我无法运行

Android Monitor.我正在使用Android Studio.不是Eclipse.

>当我尝试使用sudo ./monitor在终端中打开它时,我看到以下警告,然后显示

WARNING: An illegal reflective access operation has occurred WARNING:

Illegal reflective access by

org.eclipse.osgi.internal.baseadaptor.BaseStorage

(file:/Users/kidus11/Library/Android/sdk/tools/lib/monitor-x86_64/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar)

to method java.net.URLClassLoader.addURL(java.net.URL) WARNING: Please

consider reporting this to the maintainers of

org.eclipse.osgi.internal.baseadaptor.BaseStorage WARNING: Use

–illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be

denied in a future release

>我有Java版本9,还有Javac 9

>我已经安装了最新版本的JDK或JRE

这是我每次尝试打开Android设备监视器时看到的标记

!ENTRY org.eclipse.osgi 4 0 2017-10-04 20:18:12.531 !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

java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native

Method) at

java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at

java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564) 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)

任何帮助将不胜感激!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值