android 4.2.1上模拟器无法启动

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

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,否则还是无法启动。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值