为了账号安全,请及时绑定邮箱和手机立即绑定

Android webview引起APP崩溃

Android webview引起APP崩溃

RISEBY 2019-04-07 11:18:39
webview载入网页后,按Home键返回主屏幕,而后点击360加速球后,再次返回APP,则APP崩溃,Logcat没有捕获到日志,我再onCreate,onStart(),onResume()加断点也没有运行到断点,直接就崩溃了,大家帮忙看看。
查看完整描述

2 回答

?
www说

TA贡献1775条经验 获得超8个赞

讨厌360
没装360,没法模拟,但是据了解,360加速后,的确会影响整个问题,导致崩溃。具体原因可能是系统webview的问题。
系统webview其实下拉选择框也会崩溃。所以建议不要直接用系统的webview。
第3方的。crosswalk就是一个不错选择。
                            
查看完整回答
反对 回复 2019-04-07
?
慕仙森

TA贡献1827条经验 获得超7个赞

导出log了
02-2611:55:31.93325116-25120/com.gusou.mobile.androidD/dalvikvm﹕GC_CONCURRENTfreed6104K,47%free11709K/21955K,paused13ms+2ms,total70ms
02-2611:55:31.93325116-25116/com.gusou.mobile.androidD/dalvikvm﹕WAIT_FOR_CONCURRENT_GCblocked38ms
02-2611:55:32.01325116-25219/com.gusou.mobile.androidE/dalvikvm﹕threadid=14:createdfrominterp,name=SharedPreferencesImpl-load
02-2611:55:32.01325116-25219/com.gusou.mobile.androidE/dalvikvm﹕threadid=14:callingrun(),name=SharedPreferencesImpl-load
02-2611:55:32.01325116-25219/com.gusou.mobile.androidE/dalvikvm﹕threadid=14:exiting,name=SharedPreferencesImpl-load
02-2611:55:32.12325116-25225/com.gusou.mobile.androidE/dalvikvm﹕threadid=14:createdfrominterp,name=WebViewCoreThread
02-2611:55:32.12325116-25225/com.gusou.mobile.androidE/dalvikvm﹕threadid=14:callingrun(),name=WebViewCoreThread
02-2611:55:32.13325116-25226/com.gusou.mobile.androidE/dalvikvm﹕threadid=15:createdfrominterp,name=Thread-53937
02-2611:55:32.13325116-25226/com.gusou.mobile.androidE/dalvikvm﹕threadid=15:callingrun(),name=Thread-53937
02-2611:55:32.13325116-25227/com.gusou.mobile.androidE/dalvikvm﹕threadid=16:createdfrominterp,name=CookieSyncManager
02-2611:55:32.13325116-25227/com.gusou.mobile.androidE/dalvikvm﹕threadid=16:callingrun(),name=CookieSyncManager
02-2611:55:32.13325116-25228/com.gusou.mobile.androidE/dalvikvm﹕threadid=17:createdfrominterp,name=AsyncTask#1
02-2611:55:32.13325116-25228/com.gusou.mobile.androidE/dalvikvm﹕threadid=17:callingrun(),name=AsyncTask#1
02-2611:55:32.13325116-25225/com.gusou.mobile.androidD/webcoreglue﹕netstack:MemoryCachefeatureisON
02-2611:55:32.14325116-25226/com.gusou.mobile.androidE/dalvikvm﹕threadid=15:exiting,name=Thread-53937
02-2611:55:32.19325116-25116/com.gusou.mobile.androidD/dalvikvm﹕GC_FOR_ALLOCfreed841K,47%free11739K/21955K,paused41ms,total41ms
02-2611:55:32.22325116-25116/com.gusou.mobile.androidD/dalvikvm﹕GC_FOR_ALLOCfreed8K,47%free11986K/22279K,paused33ms,total33ms
02-2611:55:32.23325116-25232/com.gusou.mobile.androidE/dalvikvm﹕threadid=15:createdfrominterp,name=SharedPreferencesImpl-load
02-2611:55:32.23325116-25232/com.gusou.mobile.androidE/dalvikvm﹕threadid=15:callingrun(),name=SharedPreferencesImpl-load
02-2611:55:32.23325116-25232/com.gusou.mobile.androidE/dalvikvm﹕threadid=15:exiting,name=SharedPreferencesImpl-load
02-2611:55:32.27325116-25116/com.gusou.mobile.androidD/dalvikvm﹕GC_FOR_ALLOCfreed261K,46%free12590K/23239K,paused27ms,total27ms
02-2611:55:32.35325116-25116/com.gusou.mobile.androidD/dalvikvm﹕GC_FOR_ALLOCfreed636K,44%free13849K/24519K,paused26ms,total27ms
02-2611:55:32.36325116-25235/com.gusou.mobile.androidE/dalvikvm﹕threadid=15:createdfrominterp,name=Filter
02-2611:55:32.36325116-25235/com.gusou.mobile.androidE/dalvikvm﹕threadid=15:callingrun(),name=Filter
02-2611:55:32.38325116-25236/com.gusou.mobile.androidE/dalvikvm﹕threadid=18:createdfrominterp,name=Thread-53942
02-2611:55:32.38325116-25236/com.gusou.mobile.androidE/dalvikvm﹕threadid=18:callingrun(),name=Thread-53942
02-2611:55:32.39325116-25225/com.gusou.mobile.androidW/crash_handler﹕Caughtacrash,signum=11
02-2611:55:32.39325116-25225/com.gusou.mobile.androidE/webcore﹕ReportWebCorecrashtotheErrorReportUtilsat:ThuFeb2611:55:32格林尼治标准时间+08002015
02-2611:55:32.39325116-25235/com.gusou.mobile.androidD/StrongHTTPS﹕notproxying
02-2611:55:32.41325116-25247/com.gusou.mobile.androidE/dalvikvm﹕threadid=19:createdfrominterp,name=AsyncTask#2
02-2611:55:32.41325116-25247/com.gusou.mobile.androidE/dalvikvm﹕threadid=19:callingrun(),name=AsyncTask#2
02-2611:55:32.41325116-25251/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:createdfrominterp,name=SharedPreferencesImpl-load
02-2611:55:32.41325116-25251/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:callingrun(),name=SharedPreferencesImpl-load
02-2611:55:32.41325116-25251/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:exiting,name=SharedPreferencesImpl-load
02-2611:55:32.42325116-25252/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:createdfrominterp,name=SharedPreferencesImpl-load
02-2611:55:32.42325116-25252/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:callingrun(),name=SharedPreferencesImpl-load
02-2611:55:32.42325116-25252/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:exiting,name=SharedPreferencesImpl-load
02-2611:55:32.42325116-25254/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:createdfrominterp,name=SharedPreferencesImpl-load
02-2611:55:32.42325116-25254/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:callingrun(),name=SharedPreferencesImpl-load
02-2611:55:32.43325116-25254/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:exiting,name=SharedPreferencesImpl-load
02-2611:55:32.43325116-25255/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:createdfrominterp,name=pool-2-thread-1
02-2611:55:32.43325116-25255/com.gusou.mobile.androidE/dalvikvm﹕threadid=20:callingrun(),name=pool-2-thread-1
02-2611:55:32.45325116-25258/com.gusou.mobile.androidE/dalvikvm﹕threadid=21:createdfrominterp,name=Filter
02-2611:55:32.45325116-25258/com.gusou.mobile.androidE/dalvikvm﹕threadid=21:callingrun(),name=Filter
02-2611:55:32.45325116-25116/com.gusou.mobile.androidI/Progress﹕100
02-2611:55:32.54325116-25116/com.gusou.mobile.androidI/Adreno200-EGL﹕:EGL1.4QUALCOMMbuild:(CL3090659)
BuildDate:09/03/13Tue
LocalBranch:
RemoteBranch:
LocalPatches:
ReconstructBranch:
02-2611:55:32.62325116-25316/com.gusou.mobile.androidE/dalvikvm﹕threadid=22:createdfrominterp,name=Picasso-Stats
02-2611:55:32.62325116-25316/com.gusou.mobile.androidE/dalvikvm﹕threadid=22:callingrun(),name=Picasso-Stats
02-2611:55:32.79425116-25236/com.gusou.mobile.androidE/dalvikvm﹕threadid=18:exiting,name=Thread-53942
02-2611:55:33.40425116-25225/com.gusou.mobile.androidA/libc﹕Fatalsignal11(SIGSEGV)at0x0000621c(code=0),thread25225(WebViewCoreThre)
                            
查看完整回答
反对 回复 2019-04-07
  • 2 回答
  • 0 关注
  • 449 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信