无法加载的 Android 虚拟设备
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/22597781/
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
An Android Virtual Device that failed to load
提问by chocol8milkman
Note: this question is very similar to another question posed much earlier by another person, but does not solve my problem. (notthe same question here)
注意:这个问题与另一个人之前提出的另一个问题非常相似,但并没有解决我的问题。(这里不是同一个问题)
Situation: I just installed Eclipse/ADK/Android SDK, etc. and made sure to download/install Android 2.2, 4.2.2, & 4.4.2 from the SDK Manager.
情况:我刚刚安装了 Eclipse/ADK/Android SDK 等,并确保从 SDK Manager 下载/安装 Android 2.2、4.2.2 和 4.4.2。
I am now trying to create an Android Virtual Device akin to the Google Nexus 5, which uses 4.4.2. Using 512 MB of RAM
我现在正在尝试创建一个类似于使用 4.4.2 的 Google Nexus 5 的 Android 虚拟设备。 使用 512 MB 的 RAM
Problem arises when I finish "creating" it, the AVD fails to load. I can dismiss this error, but I actually can't run anything on that AVD - it's just a black screen... not even the simple Hello World!
当我完成“创建”它时出现问题,AVD 无法加载。我可以忽略这个错误,但实际上我不能在那个 AVD 上运行任何东西——它只是一个黑屏......甚至不是简单的 Hello World!
When I try to launch an application, I get the following error:
当我尝试启动应用程序时,出现以下错误:
Android Launch! adb is running normally.
Performing com.XXX.myapp001.StartingPoint activity launch
Automatic Target Mode: Preferred AVD 'AVD_for_Nexus_5_by_Google' is available on emulator 'emulator-5554'
Uploading TheNewBoston.apk onto device 'emulator-5554' Installing TheNewBoston.apk...
Installation error: Unknown failure
Please check logcat output for more details.
Launch canceled!
Thank you.
谢谢你。
采纳答案by chocol8milkman
回答by adao7000
There is a black screen with nothing loading is because you didn't specify the skin when loading the virtual device. Try selecting "WVGA800"
有一个没有加载的黑屏是因为你在加载虚拟设备时没有指定皮肤。尝试选择“WVGA800”