Android Device Monitor doesn't open - error on log file

前提是你 提交于 2019-11-27 13:30:25

If you are on windows try opening your Android Studio in Administrative Mode (Run as administrator)

I encounter this problem before. I fixed this issue by killing or ending "monitior.exe" running process using Taskmanager in Windows. Then click ADM (Android Device Monitor) and it works

I had the same issue with Mac OS X.

To solve it:

  • Open a terminal window
  • Navigate to your SDK
  • Locate the 'tools' folder
  • cd into it
  • run: sudo ./monitor
  • Type in your password

Good to go!

This is the problem due to updating SDK tools Android SDK Tools

  • close the Android Studio
  • open the SDK Manager.exe from SDK folder
  • Now install Android SDK tool in my case tool is Rev.24.3.2
  • open Android Studio it will show new tool is available install it,install that one and try to restart it.

This is due to the error that the android device monitor not able to locate the jre so in order to solve this :

please follow the following Steps:

Step 1 : In your android studio find the jdk path, then inside jdk locate the jre and copy it. (In case of Linux jre is located inside android studio folder)

Step 2 : After copying jre paste it inside the (Android/Sdk/tools/lib/monitor-x86_64/) i.e monitor-x86_64 directory

I tried this for linux operating system, Android device monitor started well without any error.

Thanks, Hope this will help to someone!

No need to restart android-studio. Just do this:

  1. Navigate to C:\Android\sdk\tools.
  2. Find monitor.bat
  3. Right-click and Run as administrator

restart the studio and Run as administrator works for me.

you don't need to restart android Studio only you need to open cmd as administrator and navigate to you SDK tools directory and write monitor in my case C:\Android\sdk\tools\monitor

I had the same problem with my Android Studio 2.3.1 running on Ubuntu 14.04LTS. I was using openjdk 7. I updated it to openjdk 8 and viola! problem got solved.

I used jdk-12 in Windows-10 platform, and kinda faced the same problem. This is what I did:

  1. Changed the monitor.exe file's compatibility to "Run as Administrator"-- Didn't work
  2. Checked if the java path (JAVA_HOME and PATH) variables are set, in the Environment Variables. --Didn't work
  3. Finally uninstalled jdk-12 and installed jdk-8 and altered the path (JAVA_HOME and PATH) variables in Environment Variables. -- Worked!!!!! And then the adb opened without any error.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!