gpt4 book ai didi

android - 模拟器没有开始出现类型 2 错误

转载 作者:行者123 更新时间:2023-11-29 21:40:26 25 4
gpt4 key购买 nike

任何人都可以帮助我运行我的模拟器。我在异常(exception)情况下得到这个。

[2013-06-24 17:06:03 - Example] Installing Example.apk...
[2013-06-24 17:06:05 - Example] Success!
[2013-06-24 17:06:05 - Example] Starting activity com.example.stbclient.StbClientLauncher on device emulator-5556
[2013-06-24 17:06:07 - Example] Device not ready. Waiting 3 seconds before next attempt.
[2013-06-24 17:06:07 - Example] ActivityManager: at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
[2013-06-24 17:06:07 - Example] ActivityManager: at dalvik.system.NativeStart.main(Native Method)
[2013-06-24 17:06:10 - Example] Starting activity com.globems.stbclient.StbClientLauncher on device emulator-5556
[2013-06-24 17:06:12 - Example] Device not ready. Waiting 3 seconds before next attempt.
[2013-06-24 17:06:12 - Example] ActivityManager: at com.android.commands.am.Am.run(Am.java:101)
[2013-06-24 17:06:12 - Example] ActivityManager: at com.android.commands.am.Am.main(Am.java:82)
[2013-06-24 17:06:12 - Example] ActivityManager: at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
[2013-06-24 17:06:12 - Example] ActivityManager: at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
[2013-06-24 17:06:12 - Example] ActivityManager: at dalvik.system.NativeStart.main(Native Method)
[2013-06-24 17:06:15 - Example] Starting activity com.globems.stbclient.StbClientLauncher on device emulator-5556
[2013-06-24 17:06:18 - Example] Device not ready. Waiting 3 seconds before next attempt.
[2013-06-24 17:06:18 - Example] ActivityManager: at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
[2013-06-24 17:06:18 - Example] ActivityManager: at dalvik.system.NativeStart.main(Native Method)
[2013-06-24 17:06:21 - Example] Starting activity com.globems.stbclient.StbClientLauncher on device emulator-5556
[2013-06-24 17:06:23 - Example] Device not ready. Waiting 3 seconds before next attempt.
[2013-06-24 17:06:23 - Example] ActivityManager: at com.android.commands.am.Am.run(Am.java:101)
[2013-06-24 17:06:23 - Example] ActivityManager: at com.android.commands.am.Am.main(Am.java:82)
[2013-06-24 17:06:23 - Example] ActivityManager: at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
[2013-06-24 17:06:23 - Example] ActivityManager: at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
[2013-06-24 17:06:23 - Example] ActivityManager: at dalvik.system.NativeStart.main(Native Method)
[2013-06-24 17:06:26 - Example] Starting activity com.globems.stbclient.StbClientLauncher on device emulator-5556
[2013-06-24 17:06:28 - Example] ActivityManager: Error type 2
[2013-06-24 17:06:28 - Example] ActivityManager: android.util.AndroidException: Can't connect to activity manager; is the system running?
[2013-06-24 17:06:28 - Example] ActivityManager: at com.android.commands.am.Am.run(Am.java:101)
[2013-06-24 17:06:28 - Example] ActivityManager: at com.android.commands.am.Am.main(Am.java:82)
[2013-06-24 17:06:28 - Example] ActivityManager: at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
[2013-06-24 17:06:28 - Example] ActivityManager: at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
[2013-06-24 17:06:28 - Example] ActivityManager: at dalvik.system.NativeStart.main(Native Method)

最佳答案

关闭eclipse和模拟器。然后运行以下命令

adb kill-server
adb devices

运行 adb devices 将重启 adb 服务器。

重新加载eclipse和模拟器,问题应该解决了。

关于android - 模拟器没有开始出现类型 2 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17274730/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com