W/MountService( 287): getVolumeState(/mnt/sdcard): Unknown volume^M
W/dalvikvm( 287): threadid=33: thread exiting with uncaught exception (group=0x40a70930)^M
I/SystemServer( 287): NetworkStats Service^M
E/AndroidRuntime( 287): *** FATAL EXCEPTION IN SYSTEM PROCESS: MountService#
onDaemonConnected^M
E/AndroidRuntime( 287): java.lang.
IllegalArgumentException^M
E/AndroidRuntime( 287): at com.android.server.
MountService.getVolumeState(
MountService.java:1503)^M
E/AndroidRuntime( 287): at com.android.server.
MountService.warnOnNotMounted(
MountService.java:1583)^M
E/AndroidRuntime( 287): at com.android.server.
MountService.
getSecureContainerList(
MountService.java:1596)^M
E/AndroidRuntime( 287): at com.android.internal.content.
PackageHelper.
getSecureContainerList(
PackageHelper.java:193)^M
E/AndroidRuntime( 287): at com.android.server.pm.
PackageManagerService.
updateExternalMediaStatusInner
(PackageManagerService.java:
9557)^M
E/AndroidRuntime( 287): at com.android.server.pm.
PackageManagerService.
scanAvailableAsecs(
PackageManagerService.java:
9539)^M
E/AndroidRuntime( 287): at com.android.server.
MountService$3.run(
MountService.java:744)^M
I/Process ( 287): Sending signal. PID: 287 SIG: 9^M
I/Zygote ( 37): Exit zygote because system server (287) has terminated^M
E/installd( 40): eof^M
E/installd( 40): failed to read size^M
I/installd( 40): closing connection^M
W/dalvikvm( 287): threadid=33: thread exiting with uncaught exception (group=0x40a70930)^M
I/SystemServer( 287): NetworkStats Service^M
E/AndroidRuntime( 287): *** FATAL EXCEPTION IN SYSTEM PROCESS: MountService#
E/AndroidRuntime( 287): java.lang.
E/AndroidRuntime( 287): at com.android.server.
E/AndroidRuntime( 287): at com.android.server.
E/AndroidRuntime( 287): at com.android.server.
E/AndroidRuntime( 287): at com.android.internal.content.
E/AndroidRuntime( 287): at com.android.server.pm.
E/AndroidRuntime( 287): at com.android.server.pm.
E/AndroidRuntime( 287): at com.android.server.
I/Process ( 287): Sending signal. PID: 287 SIG: 9^M
I/Zygote ( 37): Exit zygote because system server (287) has terminated^M
E/installd( 40): eof^M
E/installd( 40): failed to read size^M
I/installd( 40): closing connection^M
I/ServiceManager( 30): service 'power' died^M
操作:
1、source ./build/envsetup.sh
2、在第二步选择generic
3、编译完成后执行emulator -kernel kernel/goldfish/arch/arm/boot/zImage -sysdir out/target/product/generic -system system.img -data userdata.img &
4、模拟器无法启动,出现上述错误,导致systemserver挂掉
解决办法:在第2步选择full,再运行模拟器
原因:未知
附:编译出的kernel一定要是arm-v7,而不是arm,否则还是无法启动。