I can not open Android Device Monitor

I am using Android Studio. I cannot open Android Device Monitor, Tools> Android> Android Device Monitor. I was wrong. See the log file at:

C:\Users\Peter Phyo\AppData\Local\Android\sdk\tools\lib\monitor-x86\configuration\1433318221838.log.

+7
source share
9 answers

Launch android studio as administrator. It will definitely work. No need to reinstall Android studio or java.

+5
source

Do you have JAVA_HOME in your system environment variables?

 JAVA_HOME=C:/Program Files/Java/jdk1.8.0_11 
+3
source

In my case, after updating Android Studio 3.1.2, I tried to open C:\Users\yourUserName\AppData\Local\Android\Sdk\tools\monitor , Windows alert ", I can not find" lib \ monitor-location ". Make sure you entered the name correctly, then try again. " Then I tried to open tools\lib\monitor-x86_64\monitor , everything works!

+2
source

I had the same problem, I decided to use jPortable, if you use Windows, then take this, there are two versions of 32bits and 64bits: https://portableapps.com/apps/utilities/java_portable
I changed the location to extract from C:\SDK\tools\lib\monitor-x86_64\CommonFiles\Java64 to C:\SDK\tools\lib\monitor-x86_64\jre and it worked.

+1
source

I work on Windows and open Android Studio in administrative mode (run as administrator). Worked for me.

+1
source

Make sure JDK7 or JDK8 is installed depending on your OS bits. If you use 32 bits, install JDK7 or 8 of 32 bits. After installing JDK, your JAVA_HOME in your system will be located in

 C:\Program Files\Java\jdk1.8.0_40 

To check if your JAVA_HOME is installed, CLICK Start menu > Computer > Right-click on the computer > Properties > The Home control panel will appear,> click Advanced system settings , in the Advanced tab section , click> Environment variables and check >> System variables for> Path if Java exists [ C:\ProgramData\Oracle\Java\javapath; ] than you are comfortable with.

Make sure you have JAVA_HOME in your system variables.

Hope this helps you. If this helps you, mark it so that it is useful to others.

0
source

Make sure you have the Android SDK Tools installed. I had a new copy of Android Studio and kept getting this error.

For installation:

Tools → Android → SDK Manager → SDK Tools (tab) → Check Android SDK Tools xxx (if it is not installed) → Apply

After installation / completion, try restarting Android Studio, then select "Android Device Manager" from the "Tools" drop-down list.

0
source

You need to specify the path to your location .. jre \ bin:

  1. Check: File> Project Structure of your JDK location
  2. add \ bin there, my path: C:\Program Files\Android\Android Studio\jre\bin

  3. set the path in your environment variables for WINDOWS 7:

    • On the desktop, right-click the Computer icon.
    • Select Properties from the context menu.
    • Click on the link Advanced system settings.
    • Click Environment Variables
    • New system variable
    • set the path as follows:

Variable name: Path

Variable value: your path

in my case: Variable value: C:\Program Files\Android\Android Studio\jre\bin

Now you can run Monitor.exe , my location is here: C:\Users\Admin\AppData\Local\Android\Sdk\tools\lib\monitor-x86_64

for WIN7 32bit run Monitor.exe from ...Android\Sdk\tools\lib\monitor-x86

0
source

If you want to see the file manager, follow this path

View → Windows Tool → Device File Browser.

I hope this way solves your problem.

0
source

Source: https://habr.com/ru/post/988434/


All Articles