Android Studio error when clicking on Android device monitor

后端 未结 7 955
庸人自扰
庸人自扰 2021-02-04 08:51

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

---------------------------
Monitor
---------------------------
An error has         


        
7条回答
  •  鱼传尺愫
    2021-02-04 09:19

    The config.ini file should specify org.eclipse.core.runtime@start in the osgi.bundles property. Here is the default osgi.bundles property, maybe it was (accidentally) changed during an upgrade:

    You need to add the following line to the bottom of the eclipse.ini monitor.ini which is a configuration setting file located in your android-sdk\tools\lib\monitor-x86_64\ folder:

    -Dosgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start
    

    After that, run Android Device Monitor from the same folder where you have made changes instead from Android Studio and right click on monitor with eclipse icon>Run As Administrator

    Ref : "Unable to acquire application service" error while launching Eclipse

提交回复
热议问题