android.os.DeadObjectException
08-15 14:39:32.486: W/System.err(1767): at android.os.BinderProxy.transact(Native Method)
08-15 14:39:32.486: I/ActivityManager(1767): Process com.my.test (pid 25619) has died.
08-15 14:39:32.486: W/ActivityManager(1767): Force removing ActivityRecord{42afefe8 com.my.tes/.MyCmge}: app died, no saved state
08-15 14:39:32.486: W/WindowManager(1767): Force-removing child win Window{441d3f70 PopupWindow:4299edc8 paused=false} from container Window{42ae1b88 com.my.tes/com.my.tes.MyCmge paused=false}
08-15 14:39:32.491: W/System.err(1767): at android.view.IWindow$Stub$Proxy.offsetWindowForKeyguard(IWindow.java:471)
08-15 14:39:32.491: W/InputDispatcher(1767): channel ‘441da238 com.my.tes/com.my.tes.MyCmge (server)‘ ~ Consumer closed input channel or an error occurred. events=0x9
08-15 14:39:32.491: E/InputDispatcher(1767): channel ‘441da238 com.my.tes/com.my.tes.MyCmge (server)‘ ~ Channel is unrecoverably broken and will be disposed!
08-15 14:39:32.491: W/System.err(1767): at com.android.server.wm.WindowStateAnimator.destroySurfaceLocked(WindowStateAnimator.java:803)
08-15 14:39:32.491: W/System.err(1767): at com.android.server.wm.WindowState.removeLocked(WindowState.java:832)
08-15 14:39:32.491: W/System.err(1767): at com.android.server.wm.WindowManagerService.removeWindowInnerLocked(WindowManagerService.java:2522)
08-15 14:39:32.491: W/System.err(1767): at com.android.server.wm.WindowManagerService.removeWindowInnerLocked(WindowManagerService.java:2506)
08-15 14:39:32.491: D/Zygote(1550): Process 25619 terminated by signal (11)
08-15 14:39:32.491: W/System.err(1767): at com.android.server.wm.WindowManagerService.removeWindowLocked(WindowManagerService.java:2484)
08-15 14:39:32.491: W/System.err(1767): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:869)
08-15 14:39:32.491: W/System.err(1767): at android.os.BinderProxy.sendDeathNotice(Binder.java:449)
08-15 14:39:32.491: W/System.err(1767): at dalvik.system.NativeStart.run(Native Method)
08-15 14:39:32.491: I/AKMD2(1767): AK8975/B for Android end.
08-15 14:39:32.491: D/AKMD2(1767): akmd2 : Compass Closed.
08-15 14:39:32.491: D/Sensors(1767): akm:setDelay():handle 1, delay 20000000 ns.
08-15 14:39:32.496: D/AKMD2(1767): acc_thread_main: update delay_ms to 66.
这种情况,我测试暂时只会发生在魅族2 手机上,下面这篇文章从代码层调试进行了改动,
http://blog.csdn.net/casun_li/article/details/8966565
我由于用的是别人的sdk所以没有办法改源码,于是求助大牛,用到了以下方法轻松解决了
<application
android:hardwareAccelerated="false" .....
也就是在application标签里面添加了一句android:hardwareAccelerated="false" (禁用硬件加速)
于是问题就解决了,
开始的时候我是加到了对应的activity,标签里面,结果发现第一次可以运行完美等一段时间又会出现这个问题,
改了application,android:hardwareAccelerated="false"于是就好了,
这个问题真是蛋疼,,,不过,希望还有好的解决办法有人分享一下,硬件加速的问题,影响游戏性能