Android的工作室 - 无法打开AVD / SDK [英] Android Studio - Can't open AVD/SDK
问题描述
很抱歉,如果这是错误的堆栈兑换,但是这是大多数的问题都问我GOOGLE了我的问题。
Sorry if this is the wrong Stack Exchange, but this is where most of the questions were asked when I googled my problem.
一段时间以来,我一直有问题,与Android Studio和AVD / SDK。这似乎是一个比较普遍的问题,但我一直没能与任何工作了其他人的解决方案,解决我的问题。这是我收到的时候我尝试运行AVD或SDK错误:
For some time now I've been having problems with Android Studio and the AVD/SDK. It seems to be a relatively common problem, but I haven't been able to fix my problem with any of the solutions that worked for everyone else. This is the error I'm getting whenever I try and run the AVD or the SDK:
Cannot launch AVD manager.
Output:
Access is denied.
ERROR: No suitable Java found. In order to properly use the Android Developer
Tools, you need a suitable version of Java JDK installed on your system.
We recommend that you install the JDK version of JavaSE, available here:
http://www.oracle.com/technetwork/java/javase/downloads
If you already have Java installed, you can define the JAVA_HOME environment
variable in Control Panel / System / Avanced System Settings to point to the
JDK folder.
You can find the complete Android SDK requirements here:
http://developer.android.com/sdk/requirements.html
我试着重新安装所有的Java(JRE都和JDK),重新安装Android的工作室,正在作为管理员,配置权限和一堆其他的东西。我运行Windows 7和我都试过JDK / JRE 6,7和8(JDK 6工作非常糟糕,虽然)。我真的不知道你需要什么样的信息,以帮助我解决这个问题,但我会提供尽可能快,因为我可以在需要的任何信息。非常感谢你。
I've tried re-installing everything Java (Both JRE and JDK), reinstalling Android Studio, running as admin, configuring permissions and a bunch of other stuff. I'm running Windows 7 and I've tried both JDK/JRE 6, 7 and 8 (JDK 6 worked very poorly though). I don't really know what kind of information you need to help me solve this problem, but I'll supply any information needed as fast as I can. Thank you very much.
编辑:
请注意,安装Java。无论的Java
和 javac的
工作正常在cmd中。
Please note that Java IS installed. Both Java
and Javac
is working fine in cmd.
推荐答案
终于解决了我的问题!一些软件我有pviously安装$ P $所创造的用户变量,这是我用我的JDK路径的一个路径。我试着用在系统变量路径和它的工作就好了!谢谢大家谁花时间帮助我。
Finally Solved my problem! Some software I had previously installed had created a Path in User Variables, which was the one I was using for my JDK path. I tried using the Path in System Variables and it worked just fine! Thanks to everyone who took time to help me.
这篇关于Android的工作室 - 无法打开AVD / SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!