Android studio cannot open monitor (DDMS)

18,677

You must have your jdk or jre installed and in your path. Considering you are running windows you must go to your environment variables and add the location of one of them to the path. That is assuming you already have one of them installed. If you dont you need to go the oracle website and get one of them.

If you already have it installed go to your systems settings, then go to the advanced settings tab and click Environment variables at the bottom, there you edit the PATH and add the location of your jre or jdk, that should solver your problem.

Share:
18,677
Udi Oshi
Author by

Udi Oshi

SOreadytohelp Android developer! Check my github libraries https://github.com/UdiOshi85

Updated on August 22, 2022

Comments

  • Udi Oshi
    Udi Oshi over 1 year

    I can't open the monitor (ddms) in android studio getting following error:

    A java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order to run Monitor. No Java virtual machine was found after searching the following locations: C:\Android-Studio\android-studio\sdk\tools\lib\monitor-x86\jre\bin\javaw.exe javaw.exe in your current PATH

    Would appreciate any suggestion how to fix this. thanks