Android的工作室无法打开监视器(DDMS) [英] Android studio cannot open monitor (DDMS)

查看:717
本文介绍了Android的工作室无法打开监视器(DDMS)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法打开机器人工作室的监视器(DDMS)
收到以下错误:


  

Java运行时环境(JRE)或Java开发工具包(JDK)必须以运行监控器可用。 C:\\ Android的工作室\\ Android的工作室\\ SDK \\工具\\ lib目录\\监控-86 \\ JRE \\ BIN \\ javaw.exe的javaw.exe的在当前目录

应该AP preciate任何建议如何解决这个问题。
谢谢


解决方案

您必须已安装JDK或JRE,并在您的路径。考虑到你运行的是Windows,你必须去你的环境变量,并添加其中的一个位置的路径。这是假设您已经安装其中之一。如果你不,你需要去Oracle网站,并让他们中的一个。

如果您已经安装到你的系统设置,然后转到高级设置选项卡,并单击环境变量在底部,有你编辑的路径,添加您的JRE或JDK的位置,这应该求解的问题

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

解决方案

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.

这篇关于Android的工作室无法打开监视器(DDMS)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆