java 在 Android Studio 中禁用虚拟设备管理器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16683975/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Virtual Device Manager Disabled in Android Studio
提问by Arvind Bhardwaj
I have installed Android Studio on my Windows 7 PC. But I cannot create the virtual devices on the studio as the button for AVD and SDK is disabled by default. How ca I enable them?
我已经在我的 Windows 7 PC 上安装了 Android Studio。但是我无法在工作室中创建虚拟设备,因为 AVD 和 SDK 的按钮默认处于禁用状态。我如何启用它们?
采纳答案by Arvind Bhardwaj
Well I found the problem. The gradle
was not installed as my internet connection was not active. Make sure the Android Studio installs the gradle
when you first start and create a project.
嗯,我发现了问题。在gradle
未安装我的互联网连接非常不活跃。确保 Android Studiogradle
在您第一次启动和创建项目时安装。
回答by jsc0
I haven't seen this error myself, but try going to
File -> Project Structure -> SDKs
and make sure you have a listing for the Android SDK and that the home path is pointing to the correct location.
我自己还没有看到这个错误,但试着去
File -> Project Structure -> SDKs
确保你有一个 Android SDK 的列表,并且主路径指向正确的位置。
回答by Chintan Trivedi
Go to the android-studio\sdk\tools\lib and search for AVD Manager and SDK Manager. If they are present, try running them.
进入 android-studio\sdk\tools\lib 并搜索 AVD Manager 和 SDK Manager。如果它们存在,请尝试运行它们。
While I do not know the actual reason for the disabled buttons, but this might just help in troubleshooting the problem.
虽然我不知道禁用按钮的实际原因,但这可能有助于解决问题。