有时,我的应用程序被冻结,然后崩溃.
我读了系统日志,在系统日志的最后几行,我在Activity上看到了一些错误“WIN DEATH”.
有人可以告诉我原因并告诉我解决方案吗?
非常感谢!
这是系统日志:
08-17 08:34:00.091 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.101 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.101 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.111 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.121 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.131 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.131 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.141 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.151 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.151 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.161 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.171 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.171 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.181 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.191 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.191 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:00.211 E/WifiService( 149): ***WAPI : readNetworkVariables testing for WAPI08-17 08:34:01.692 I/ActivityManager( 149): Starting activity: Intent { act=androID.intent.action.MAIN cat=[androID.intent.category.HOME] flg=0x10200000 cmp=com.dell.launcher/.Launcher }08-17 08:34:01.711 D/Statusbar( 149): nAnimY < mStatusbarVIEw.getHeight()08-17 08:34:01.731 W/inputManagerService( 149): Ignoring hIDeSoftinput of: com.androID.internal.vIEw.IinputMethodClIEnt$Stub$Proxy@46f5120008-17 08:34:01.751 I/ActivityManager( 149): No longer want com.androID.vending (pID 724): hIDden #1608-17 08:34:03.141 I/ActivityManager( 149): Starting activity: Intent { act=androID.intent.action.MAIN cat=[androID.intent.category.LAUNCHER] flg=0x10200000 cmp=com.androID.browser/.browserActivity bnds=[289,313][375,390] }08-17 08:34:03.521 W/inputManagerService( 149): Starting input on non-focused clIEnt com.androID.internal.vIEw.IinputMethodClIEnt$Stub$Proxy@46ee34f8 (uID=10006 pID=893)08-17 08:34:03.521 W/inputManagerService( 149): ClIEnt not active, ignoring focus gain of: com.androID.internal.vIEw.IinputMethodClIEnt$Stub$Proxy@46f02ef008-17 08:34:08.301 I/ActivityManager( 149): Starting activity: Intent { act=androID.intent.action.VIEW dat=http://vnexpress.net/ flg=0x10000000 cmp=com.androID.browser/.browserActivity (has extras) }08-17 08:34:43.361 I/ActivityManager( 149): Starting activity: Intent { act=androID.intent.action.VIEW cat=[androID.intent.category.broWSABLE] dat=http://vnexpress.net/gl/the-gioi/phan-tich/2012/08/trung-quoc-se-bi-co-lap-neu-bat-hop-tac-ve-bIEn-dong-1/ cmp=com.androID.browser/.browserActivity }08-17 08:34:43.911 I/ActivityManager( 149): Starting activity: Intent { act=androID.intent.action.VIEW cat=[androID.intent.category.broWSABLE] dat=http://vnexpress.net/gl/the-gioi/phan-tich/2012/08/trung-quoc-se-bi-co-lap-neu-bat-hop-tac-ve-bIEn-dong-1/ cmp=com.androID.browser/.browserActivity }08-17 08:35:06.701 I/ActivityManager( 149): Starting activity: Intent { act=androID.intent.action.MAIN cat=[androID.intent.category.HOME] flg=0x10200000 cmp=com.dell.launcher/.Launcher }08-17 08:35:06.711 D/Statusbar( 149): nAnimY < mStatusbarVIEw.getHeight()08-17 08:35:06.751 W/inputManagerService( 149): Ignoring hIDeSoftinput of: com.androID.internal.vIEw.IinputMethodClIEnt$Stub$Proxy@47017a4808-17 08:35:10.341 I/ActivityManager( 149): Starting activity: Intent { act=androID.intent.action.MAIN cat=[androID.intent.category.LAUNCHER] flg=0x10200000 cmp=i3.mobile1/i3.mobile.dvrremote.screen.WelcomeScreen }08-17 08:35:10.361 D/Statusbar( 149): nAnimY < mStatusbarVIEw.getHeight()08-17 08:35:16.144 W/WindowManager( 149): Key dispatching timed out sending to i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen08-17 08:35:16.144 W/WindowManager( 149): PrevIoUs dispatch state: null08-17 08:35:16.144 W/WindowManager( 149): Current dispatch state: {{null to Window{47004958 i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen paused=false} @ 1345167316145 lw=Window{47004958 i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen paused=false} lb=androID.os.BinderProxy@46e87e58 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{47004958 i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen paused=false}}}08-17 08:35:16.421 E/ActivityManager( 149): ANR in i3.mobile1i3.mobile1(pID: 941) (i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen)08-17 08:35:16.421 E/ActivityManager( 149): Reason: keydispatchingTimedOut08-17 08:35:16.421 E/ActivityManager( 149): Load: 5.13 / 5.05 / 3.6908-17 08:35:16.421 E/ActivityManager( 149): cpu usage from 5531ms to 13ms ago:08-17 08:35:16.421 E/ActivityManager( 149): system_server: 2% = 1% user + 1% kernel / faults: 35 minor 19 major08-17 08:35:16.421 E/ActivityManager( 149): androID.browser: 1% = 0% user + 0% kernel / faults: 21 minor 2 major08-17 08:35:16.421 E/ActivityManager( 149): m.androID.phone: 0% = 0% user + 0% kernel / faults: 48 minor 2 major08-17 08:35:16.421 E/ActivityManager( 149): e.process.gapps: 0% = 0% user + 0% kernel / faults: 21 minor 1 major08-17 08:35:16.421 E/ActivityManager( 149): m.dell.launcher: 0% = 0% user + 0% kernel / faults: 20 minor08-17 08:35:16.421 E/ActivityManager( 149): events/0: 0% = 0% user + 0% kernel08-17 08:35:16.421 E/ActivityManager( 149): auo_touchscreen: 0% = 0% user + 0% kernel08-17 08:35:16.421 E/ActivityManager( 149): d.process.acore: 0% = 0% user + 0% kernel / faults: 23 minor08-17 08:35:16.421 E/ActivityManager( 149): m.androID.music: 0% = 0% user + 0% kernel / faults: 219 minor 1 major08-17 08:35:16.421 E/ActivityManager( 149): com.oem.lota: 0% = 0% user + 0% kernel / faults: 53 minor 1 major08-17 08:35:16.421 E/ActivityManager( 149): ndroID.dellsync: 0% = 0% user + 0% kernel / faults: 43 minor08-17 08:35:16.421 E/ActivityManager( 149): cpanda.aquapets: 0% = 0% user + 0% kernel / faults: 61 minor08-17 08:35:16.421 E/ActivityManager( 149): ndroID.settings: 0% = 0% user + 0% kernel / faults: 14 minor08-17 08:35:16.421 E/ActivityManager( 149): lite.dellstreak: 0% = 0% user + 0% kernel / faults: 25 minor08-17 08:35:16.421 E/ActivityManager( 149): d.photos:Remote: 0% = 0% user + 0% kernel / faults: 17 minor08-17 08:35:16.421 E/ActivityManager( 149): equicksearchBox: 0% = 0% user + 0% kernel / faults: 22 minor08-17 08:35:16.421 E/ActivityManager( 149): TOTAL: 7% = 3% user + 3% kernel + 0% iowait08-17 08:35:16.551 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:16.591 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:16.591 W/WindowManager( 149): No window to dispatch pointer action 008-17 08:35:16.591 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:16.591 W/WindowManager( 149): No window to dispatch pointer action 008-17 08:35:16.591 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:16.591 W/WindowManager( 149): No window to dispatch pointer action 008-17 08:35:16.591 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:16.591 W/WindowManager( 149): No window to dispatch pointer action 008-17 08:35:16.881 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:20.351 W/ActivityManager( 149): Launch timeout has expired, giving up wake lock!08-17 08:35:20.361 W/ActivityManager( 149): Activity IDle timeout for HistoryRecord{46e20d08 i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen}08-17 08:35:48.398 W/WindowManager( 149): Key dispatching timed out sending to i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen08-17 08:35:48.398 W/WindowManager( 149): PrevIoUs dispatch state: null08-17 08:35:48.398 W/WindowManager( 149): Current dispatch state: {{null to Window{47004958 i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen paused=false} @ 1345167348400 lw=Window{47004958 i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen paused=false} lb=androID.os.BinderProxy@46e87e58 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{47004958 i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen paused=false}}}08-17 08:35:48.841 E/ActivityManager( 149): ANR in i3.mobile1i3.mobile1(pID: 941) (i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen)08-17 08:35:48.841 E/ActivityManager( 149): Reason: keydispatchingTimedOut08-17 08:35:48.841 E/ActivityManager( 149): Load: 5.28 / 5.11 / 3.7608-17 08:35:48.841 E/ActivityManager( 149): cpu usage from 32415ms to 58ms ago:08-17 08:35:48.841 E/ActivityManager( 149): system_server: 6% = 4% user + 1% kernel / faults: 840 minor 1 major08-17 08:35:48.841 E/ActivityManager( 149): androID.browser: 1% = 1% user + 0% kernel / faults: 109 minor08-17 08:35:48.841 E/ActivityManager( 149): .oem.logservice: 1% = 1% user + 0% kernel / faults: 1378 minor08-17 08:35:48.841 E/ActivityManager( 149): m.dell.launcher: 0% = 0% user + 0% kernel / faults: 74 minor08-17 08:35:48.841 E/ActivityManager( 149): ndroID.settings: 0% = 0% user + 0% kernel / faults: 72 minor08-17 08:35:48.841 E/ActivityManager( 149): mmcqd: 0% = 0% user + 0% kernel08-17 08:35:48.841 E/ActivityManager( 149): sensors_daemon: 0% = 0% user + 0% kernel08-17 08:35:48.841 E/ActivityManager( 149): e.process.gapps: 0% = 0% user + 0% kernel / faults: 34 minor08-17 08:35:48.841 E/ActivityManager( 149): mmcqd: 0% = 0% user + 0% kernel08-17 08:35:48.841 E/ActivityManager( 149): cpanda.aquapets: 0% = 0% user + 0% kernel / faults: 7 minor08-17 08:35:48.841 E/ActivityManager( 149): kswapd0: 0% = 0% user + 0% kernel08-17 08:35:48.841 E/ActivityManager( 149): d.process.acore: 0% = 0% user + 0% kernel / faults: 42 minor08-17 08:35:48.841 E/ActivityManager( 149): events/0: 0% = 0% user + 0% kernel08-17 08:35:48.841 E/ActivityManager( 149): kjournald: 0% = 0% user + 0% kernel08-17 08:35:48.841 E/ActivityManager( 149): ksdioirqd/mmc1: 0% = 0% user + 0% kernel08-17 08:35:48.841 E/ActivityManager( 149): oID.inputmethod: 0% = 0% user + 0% kernel / faults: 25 minor 1 major08-17 08:35:48.841 E/ActivityManager( 149): m.androID.phone: 0% = 0% user + 0% kernel / faults: 1 minor08-17 08:35:48.841 E/ActivityManager( 149): equicksearchBox: 0% = 0% user + 0% kernel / faults: 1 minor08-17 08:35:48.841 E/ActivityManager( 149): auo_touchscreen: 0% = 0% user + 0% kernel08-17 08:35:48.841 E/ActivityManager( 149): wpa_supplicant: 0% = 0% user + 0% kernel08-17 08:35:48.841 E/ActivityManager( 149): vIDers.calendar: 0% = 0% user + 0% kernel / faults: 35 minor08-17 08:35:48.841 E/ActivityManager( 149): d.process.media: 0% = 0% user + 0% kernel / faults: 18 minor08-17 08:35:48.841 E/ActivityManager( 149): m.androID.music: 0% = 0% user + 0% kernel / faults: 1 minor08-17 08:35:48.841 E/ActivityManager( 149): ndroID.dellsync: 0% = 0% user + 0% kernel / faults: 1 minor08-17 08:35:48.841 E/ActivityManager( 149): .packagechecker: 0% = 0% user + 0% kernel / faults: 20 minor08-17 08:35:48.841 E/ActivityManager( 149): com.netgate: 0% = 0% user + 0% kernel / faults: 273 minor08-17 08:35:48.841 E/ActivityManager( 149): .cooliris.media: 0% = 0% user + 0% kernel / faults: 25 minor08-17 08:35:48.841 E/ActivityManager( 149): lite.dellstreak: 0% = 0% user + 0% kernel / faults: 1 minor08-17 08:35:48.841 E/ActivityManager( 149): ogle.androID.gm: 0% = 0% user + 0% kernel / faults: 30 minor 1 major08-17 08:35:48.841 E/ActivityManager( 149): d.apps.uploader: 0% = 0% user + 0% kernel / faults: 17 minor08-17 08:35:48.841 E/ActivityManager( 149): d.photos:Remote: 0% = 0% user + 0% kernel / faults: 1 minor08-17 08:35:48.841 E/ActivityManager( 149): o.androID.oemec: 0% = 0% user + 0% kernel / faults: 15 minor08-17 08:35:48.841 E/ActivityManager( 149): i3.mobile1: 0% = 0% user + 0% kernel / faults: 16 minor 1 major08-17 08:35:48.841 E/ActivityManager( 149): TOTAL: 32% = 11% user + 8% kernel + 12% iowait + 0% irq + 0% softirq08-17 08:35:48.871 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:48.901 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:48.901 W/WindowManager( 149): No window to dispatch pointer action 008-17 08:35:48.901 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:48.901 W/WindowManager( 149): No window to dispatch pointer action 008-17 08:35:48.901 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:48.901 W/WindowManager( 149): No window to dispatch pointer action 008-17 08:35:49.392 W/WindowManager( 149): No window to dispatch pointer action 108-17 08:35:51.681 W/ActivityManager( 149): Force finishing activity i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen08-17 08:35:51.681 I/ActivityManager( 149): Killing i3.mobile1 (pID=941): user's request08-17 08:35:51.701 I/WindowManager( 149): WIN DEATH: Window{46e6fdb0 i3.mobile1/i3.mobile.dvrremote.screen.WelcomeScreen paused=false}08-17 08:35:51.711 I/ActivityManager( 149): Process i3.mobile1 (pID 941) has dIEd.08-17 08:35:51.721 I/WindowManager( 149): WIN DEATH: Window{47004958 i3.mobile1/i3.mobile.dvrremote.screen.ConnectScreen paused=true}08-17 08:35:51.721 I/ActivityManager( 149): Start proc i3.mobile1 for activity i3.mobile1/i3.mobile.dvrremote.screen.WelcomeScreen: pID=1119 uID=10106 gIDs={1015, 3003}
谢谢!
解决方法:
您的应用程序可能因ANR(应用程序无响应)而被杀死.当您在UI线程中进行一些硬处理时,可能会发生这种情况.你可以在这里阅读更多:http://developer.android.com/guide/practices/responsiveness.html
只有一个解决方案:将所有努力工作转移到后台线程中,以便UI线程保持响应.
总结以上是内存溢出为你收集整理的Android中的WIN DEATH错误?全部内容,希望文章能够帮你解决Android中的WIN DEATH错误?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)