【发布时间】:2015-01-06 04:57:13
【问题描述】:
这是第一次,我正在尝试在棒棒糖中运行应用程序。
它没有显示任何错误。但它会不断加载模拟器。下面我发布了与我的问题相关的截图和编码。
在项目->属性->构建目标:
然后在我的清单中:
<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。还没有任何工作对我有用。任何人都可以给我一些建议。谢谢。
【问题讨论】:
-
将 RAM 大小增加到 512 或 1024 并检查
-
试试 Genymotion,让在模拟器上运行应用程序变得不那么痛苦。 genymotion.com
-
@droidkid 我检查了它。但它不起作用
标签: android android-emulator android-5.0-lollipop nexus-s