【问题标题】:Android lollipop emulator Nexus S not running the applicationAndroid lollipop 模拟器 Nexus S 未运行应用程序
【发布时间】: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


【解决方案1】:

尝试使用Genymotion

为 Eclipse 安装 Genymotion 插件:

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

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

【讨论】:

  • 我不知道为什么它没有在 eclipse 中运行。但最后你在聊天网站上建议我。然后我用 genymotion 模拟器得到它。谢谢你的回答。Genymoyion 模拟器似乎与 AVD 相比要好。
猜你喜欢
  • 2018-11-27
  • 2011-11-16
  • 1970-01-01
  • 2012-08-05
  • 2014-12-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多