源码编译,之前都是可以的,不知道为啥突然模拟器不行了,
adb logcat 输入见下面(这段错误不停重复),使用了-gpu on选项也不行。
I/Netd ( 584): Netd 1.0 starting
E/Netd ( 584): Failed to open /proc/sys/net/ipv6/conf/default/optimistic_dad: No such file or directory
E/Netd ( 584): Failed to open /proc/sys/net/ipv6/conf/eth0/optimistic_dad: No such file or directory
E/Netd ( 584): Failed to open /proc/sys/net/ipv6/conf/lo/optimistic_dad: No such file or directory
E/Netd ( 584): Failed to open /proc/sys/net/ipv6/conf/sit0/optimistic_dad: No such file or directory
E/Netd ( 584): Failed to open /proc/sys/net/ipv6/conf/default/use_optimistic: No such file or directory
E/Netd ( 584): Failed to open /proc/sys/net/ipv6/conf/eth0/use_optimistic: No such file or directory
E/Netd ( 584): Failed to open /proc/sys/net/ipv6/conf/lo/use_optimistic: No such file or directory
E/Netd ( 584): Failed to open /proc/sys/net/ipv6/conf/sit0/use_optimistic: No such file or directory
I/SurfaceFlinger( 585): SurfaceFlinger is starting
I/SurfaceFlinger( 585): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 585): Emulator without GPU support detected. Fallback to software renderer.
D/libEGL ( 585): loaded /system/lib/egl/libGLES_android.so
D/gralloc_goldfish( 585): Emulator without GPU emulation detected.
E/gralloc_goldfish( 585): Could not find software fallback module!?
E/ ( 585): Failed to connect to host (QemuPipeStream)!!!
E/gralloc_goldfish( 585): gralloc: Failed to get host connection
E/SurfaceFlinger( 585): hwcomposer module not found
E/SurfaceFlinger( 585): ERROR: failed to open framebuffer (I/O error), aborting
F/libc ( 585): Fatal signal 6 (SIGABRT), code -6 in tid 585 (surfaceflinger)
I/DEBUG ( 61): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 61): Build fingerprint: 'Android/aosp_arm/generic:5.1.1/LMY47Z/root05220838:eng/test-keys'
I/DEBUG ( 61): Revision: '0'
I/DEBUG ( 61): ABI: 'arm'
I/DEBUG ( 61): pid: 585, tid: 585, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 61): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 61): r0 00000000 r1 00000249 r2 00000006 r3 00000000
I/DEBUG ( 61): r4 b6f73e38 r5 00000006 r6 00000002 r7 0000010c
I/DEBUG ( 61): r8 ffffffc4 r9 b648d158 sl 00000000 fp beea3b7c
I/DEBUG ( 61): ip 00000249 sp beea3998 lr b6ed0745 pc b6ef33f4 cpsr 60000010
I/DEBUG ( 61):
I/DEBUG ( 61): backtrace:
I/DEBUG ( 61): #00 pc 000393f4 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 61): #01 pc 00016741 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 61): #02 pc 0001735f /system/lib/libc.so (raise+10)
I/DEBUG ( 61): #03 pc 00013b39 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 61): #04 pc 00012f18 /system/lib/libc.so (abort+4)
I/DEBUG ( 61): #05 pc 000214bf /system/lib/libsurfaceflinger.so
I/DEBUG ( 61): #06 pc 00017801 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+104)
I/DEBUG ( 61): #07 pc 00000af1 /system/bin/surfaceflinger
I/DEBUG ( 61): #08 pc 00012dc9 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 61): #09 pc 00000c08 /system/bin/surfaceflinger
I/DEBUG ( 61):
I/DEBUG ( 61): Tombstone written to: /data/tombstones/tombstone_05