我已经安装了Eclipse Helios和Android Sdk。问题是,当我启动一个模拟器时,我得到一个带有安卓文本闪烁的黑屏。我在Log.Can中得到以下错误。请建议一步一步解决此问题。 以下是错误:
02-27 05:59:50.070: E/logwrapper(920): executing /system/bin/e2fsck failed: No such file or directory
02-27 05:59:51.130: E/cutils(932): Failed to read /data/.layout_version: No such file or directory
02-27 05:59:51.130: E/installd(932): Could not create directories; exiting.
02-27 05:59:51.790: W/InterfaceController(925): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
02-27 05:59:51.920: E/keystore(933): chdir: /data/misc/keystore: No such file or directory
02-27 05:59:52.250: D/Vold(923): Volume sdcard state changing 0 (No-Media) -> 1 (Idle-Unmounted)
02-27 05:59:53.270: E/SurfaceFlinger(928): hwcomposer module not found
02-27 05:59:53.270: W/SurfaceFlinger(928): getting VSYNC period from fb HAL: 1536001
02-27 05:59:53.280: W/SurfaceFlinger(928): no suitable EGLConfig found, trying a simpler query
02-27 05:59:53.280: W/SurfaceFlinger(928): EGL_SLOW_CONFIG selected!
02-27 05:59:53.320: W/SurfaceFlinger(928): power module not found
02-27 05:59:54.910: E/SurfaceFlinger(928): ro.sf.lcd_density must be defined as a build property
02-27 05:59:54.940: D/libEGL(993): Emulator without GPU support detected. Fallback to software renderer.
02-27 05:59:55.860: E/cutils(1010): Failed to read /data/.layout_version: No such file or directory
02-27 05:59:55.860: E/installd(1010): Could not create directories; exiting.
02-27 05:59:56.030: E/keystore(1011): chdir: /data/misc/keystore: No such file or directory
02-27 05:59:57.230: E/AudioFlinger(931): 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)
02-27 06:00:05.810: E/cutils(1060): Failed to read /data/.layout_version: No such file or directory
02-27 06:00:05.810: E/installd(1060): Could not create directories; exiting.
02-27 06:00:06.040: E/keystore(1061): chdir: /data/misc/keystore: No such file or directory
02-27 06:00:06.840: E/memtrack(929): Couldn't load memtrack module (No such file or directory)
02-27 06:00:06.840: E/android.os.Debug(929): failed to load memtrack module: -2
02-27 06:00:10.220: I/installd(1085): installd firing up
02-27 06:00:10.220: E/cutils(1085): Failed to read /data/.layout_version: No such file or directory
02-27 06:00:10.220: E/installd(1085): Could not create directories; exiting.
02-27 06:00:10.570: E/keystore(1086): chdir: /data/misc/keystore: No such file or directory
02-27 06:00:15.720: E/cutils(1109): Failed to read /data/.layout_version: No such file or directory
02-27 06:00:15.720: E/installd(1109): Could not create directories; exiting.
02-27 06:00:16.230: E/keystore(1110): chdir: /data/misc/keystore: No such file or directory
02-27 06:00:29.190: E/EmojiFactory_jni(929): Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
答案 0 :(得分:8)
创建模拟器时,请选中" Use Host GPU"在底部
答案 1 :(得分:3)
“闪烁的android文本”表示模拟器正在启动。这可能需要一段时间,具体取决于您的机器的速度。
有时它会卡住,你必须删除它并重新开始,但听起来你已经尝试过了。
从Eclipse启动模拟器时,请查看“控制台”选项卡,而不是“日志”选项卡。控制台可能会显示错误消息Log选项卡仅显示logcat,它是来自Android本身的消息
当您创建一个新的模拟器时,如果您尝试768M以上的任何内容,它会警告您分配太多RAM,模拟器可能无法根据虚拟设备设置底部的错误消息启动。 尝试使用512M RAM并查看它是否启动。
答案 2 :(得分:2)
我发现了同样的问题。在循环中一遍又一遍地显示相同的错误消息。当我将模拟器升级到API版本19时会发生这种情况。(我等了一夜,但模拟器从未启动过。)
但是,如果我使用API版本17运行模拟器,它会在大约五分钟后启动。 (顺便说一下,我两次都分配了512兆。)