我在 Eclipse ADT 中创建了一个简单的 Android 应用程序,只是一个简单的 Hello World
。我使用的IDE是从Android网站下载的,似乎它基于Eclipse Juno并具有ADT插件。我的操作系统是 Windows 7,64 位。
好的,然后我在 IDE 中创建了一个 AVD(来自 Nexus 5 模板;只是将内存降低到 512MB)。
问题是当我尝试启动 AVD(其中没有应用程序)时,我不断收到此错误。似乎它处于某种循环中并不断在 LogCat 中打印此内容,而 AVD 屏幕只是黑色。
- 可能出了什么问题?
- 通常如何解决此类问题?我是 Android 新手(但不是 Java)。
11-21 22:50:01.740: A/libc(1275): Fatal signal 6 (SIGABRT) at 0x4fb (code=-6), thread 1275 (surfaceflinger)
11-21 22:50:04.030: W/AudioFlinger(1278): Thread AudioOut_2 cannot connect to the power manager service
11-21 22:50:04.060: W/AudioFlinger(1278): Thread AudioOut_2 cannot connect to the power manager service
11-21 22:50:04.060: W/AudioFlinger(1278): Thread AudioOut_2 cannot connect to the power manager service
11-21 22:50:04.060: E/AudioFlinger(1278): no wake lock to update!
11-21 22:50:04.090: E/AudioFlinger(1278): int android::load_audio_interface(const char*, audio_hw_device_t**) couldn't load audio hw module audio.r_submix (No such file or directory)
11-21 22:50:04.090: W/AudioPolicyManagerBase(1278): could not open HW module r_submix
11-21 22:50:05.970: W/InterfaceController(1325): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
11-21 22:50:06.530: E/SurfaceFlinger(1326): hwcomposer module not found
11-21 22:50:06.530: E/SurfaceFlinger(1326): ERROR: failed to open framebuffer (No such file or directory), aborting
最佳答案
我的问题是我使用的是 Android 4.4W(我后来意识到),即所谓的 Android Wear,仅适用于非常特定的设备(例如 watch )。切换到普通的Android 4.4.2后,我的问题中描述的问题消失了。
关于java - AVD 无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27071731/