问题描述
- android 横竖屏切换崩溃
-
横竖屏切换4到5次崩溃,直接退出,求各位大神指点...10-16 09:42:11.367 122-610/? E/FrameworkListener﹕ read() failed (Connection reset by peer)
10-16 09:42:13.431 13890-13890/com.zhd.hiqse E/linker﹕ load_library(linker.cpp:759): library "libmaliinstr.so" not found
10-16 09:42:13.433 13890-13890/com.zhd.hiqse E/﹕ appName=com.zhd.hiqse, acAppName=com.android.cts.openglperf
10-16 09:42:13.434 13890-13890/com.zhd.hiqse E/﹕ 0
10-16 09:42:13.434 13890-13890/com.zhd.hiqse E/﹕ appName=com.zhd.hiqse, acAppName=com.android.browser
10-16 09:42:13.434 13890-13890/com.zhd.hiqse E/﹕ 0
10-16 09:42:18.644 786-1132/? E/u-blox﹕ ======ZZD======setBaudRate=9600
10-16 09:42:24.703 786-810/? E/AudioService﹕ handleConfigurationChanged() createInstance IAudioServiceExt fail
10-16 09:42:26.827 13984-14000/? E/dalvikvm﹕ Could not find class 'android.telephony.CellInfoWcdma', referenced from method com.baidu.location.h.b.if
10-16 09:42:26.841 13984-13995/? E/CellLocation﹕ create GsmCellLocation
10-16 09:42:26.910 13984-14000/? E/CellLocation﹕ create GsmCellLocation
10-16 09:42:27.628 786-810/? E/ActivityManager﹕ WMS runs the animation too long
10-16 09:42:30.923 786-810/? E/AudioService﹕ handleConfigurationChanged() createInstance IAudioServiceExt fail
10-16 09:42:33.869 786-810/? E/ActivityManager﹕ WMS runs the animation too long
10-16 09:42:36.145 786-810/? E/AudioService﹕ handleConfigurationChanged() createInstance IAudioServiceExt fail
10-16 09:42:39.090 786-810/? E/ActivityManager﹕ WMS runs the animation too long
10-16 09:42:41.924 786-810/? E/AudioService﹕ handleConfigurationChanged() createInstance IAudioServiceExt fail
10-16 09:42:44.861 786-810/? E/ActivityManager﹕ WMS runs the animation too long
10-16 09:42:47.857 786-810/? E/AudioService﹕ handleConfigurationChanged() createInstance IAudioServiceExt fail
10-16 09:42:48.180 13890-13900/? A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 13900 (FinalizerDaemon)
10-16 09:42:49.747 1017-1107/? E/Launcher﹕ MTKUnreadLoader, initUnreadNumberFromSystem SettingNotFoundException key = com_android_rcse_mtk_unread, e = com_android_rcse_mtk_unread
10-16 09:42:49.833 1017-1017/? E/Launcher﹕ AppsCustomizePagedView, Widget ComponentInfo{com.UCMobile/com.uc.application.desktopwidget.UCWidgetProvider} can not fit on this device (364, 50), min span is (5, 1)), span is (5, 1)
10-16 09:42:49.927 899-899/? E/﹕ appName=com.android.systemui, acAppName=com.android.cts.openglperf
10-16 09:42:49.927 899-899/? E/﹕ 0
10-16 09:42:49.927 899-899/? E/﹕ appName=com.android.systemui, acAppName=com.android.browser
10-16 09:42:49.927 899-899/? E/﹕ 0
10-16 09:42:53.319 786-810/? E/AudioService﹕ handleConfigurationChanged() createInstance IAudioServiceExt fail
10-16 09:42:53.351 899-899/? E/﹕ appName=com.android.systemui, acAppName=com.android.cts.openglperf
10-16 09:42:53.351 899-899/? E/﹕ 0
10-16 09:42:53.351 899-899/? E/﹕ appName=com.android.systemui, acAppName=com.android.browser
10-16 09:42:53.351 899-899/? E/﹕ 0
10-16 09:42:53.398 1017-2219/? E/Launcher﹕ MTKUnreadLoader, initUnreadNumberFromSystem SettingNotFoundException key = com_android_rcse_mtk_unread, e = com_android_rcse_mtk_unread
10-16 09:42:54.344 786-1132/? E/u-blox﹕ ======ZZD======setBaudRate=9600
解决方案
可能是程序之间的一些逻辑没有考虑清楚。。建议。。好好考虑横竖屏切换时所执行的步奏。
解决方案二:
Android的横竖屏切换
Android横竖屏切换总结
Android横竖屏切换总结
解决方案三:
来回切换,你当前的activity处理过于复杂,也可能导致崩掉