3

这是第一次,我试图在棒棒糖中运行应用程序。

它没有显示任何错误。但它会不断加载模拟器。下面我发布了与我的问题相关的相关屏幕截图和编码。

在项目->属性->构建目标中:

在此处输入图像描述

然后在我的清单中:

 <uses-sdk
        android:minSdkVersion="16"
        android:targetSdkVersion="21" />

Android SDK 管理器:

在此处输入图像描述

在此处输入图像描述

编辑 Android 虚拟设备(AVD):

在此处输入图像描述

注意:在上面的截图中,似乎我已经尝试过了Use GPU Host

输出:

最后我的模拟器总是加载。我等了将近 35 分钟。

在此处输入图像描述

安慰:

[2015-01-06 09:53:17 - Steve] Android Launch!
[2015-01-06 09:53:17 - Steve] adb is running normally.
[2015-01-06 09:53:17 - Steve] Performing com.android.steve.MainActivity activity launch
[2015-01-06 09:53:17 - Steve] Automatic Target Mode: Preferred AVD 'Lollipops' is not available. Launching new emulator.
[2015-01-06 09:53:17 - Steve] Launching a new emulator with Virtual Device 'Lollipops'
[2015-01-06 09:53:30 - Emulator] emulator: warning: opening audio input failed
[2015-01-06 09:53:30 - Emulator] 
[2015-01-06 09:53:31 - Emulator] creating window 0 0 438 729
[2015-01-06 09:53:31 - Emulator] emulator: emulator window was out of view and was recentered
[2015-01-06 09:53:31 - Emulator] 
[2015-01-06 09:53:31 - Steve] New emulator found: emulator-5554
[2015-01-06 09:53:31 - Steve] Waiting for HOME ('android.process.acore') to be launched...

我尝试重新启动 Eclipse 并清理项目。最后我尝试使用Nexus 5.Nothing 对我有用。任何人都可以给我一些关于这个的建议。谢谢。

4

1 回答 1

3

尝试使用Genymotion

为 Eclipse 安装 Genymotion 插件:

在 Eclipse 中,转到帮助 > 安装新软件,然后单击添加。使用 Genymotion 名称和 plugins.genymotion.com/... 位置填写字段。在 Genymobile 下,选中 Genymotion 和 Genymotion Eclipse Tools 并按照 Eclipse 指示的步骤进行操作。

注意: 如果系统配置良好,如 6-8gb 内存、高速处理器,Genymotion Lollipop 版本可以正常工作。对于配置较低的 PC,它只显示启动屏幕(图片有问题)。

于 2015-01-06T07:09:39.587 回答