Android DropBox

​ 导出crash日志

  • adb shell dumpsys dropbox --print dataappcrash >crash_test.txt

    导出Anr日志

  • adb shell dumpsys dropbox --print dataappanr >anr_test.txt

    导出所有日志

  • adb shell dumpsys dropbox --print >drop_test.txt

日志分析如下:

`========================================
2023-01-03 13:40:59 data_app_wtf (text, 2660 bytes)
Process: xxxx.xxxx.xxxx
PID: 13029
UID: 10255
Flags: 0x38d83e46
Package: xxxx.xxxx.xxxx v2060525151 (1.0.0_debug)
PID: 13029
Foreground: No
Process-Runtime: 5176525
Subject: ProxyManager
Build: OPPO/PHJ110H1/OP526D:12/SP1A.210812.016/S.cb601a-7bde:user/release-keys

android.util.Log T e r r i b l e F a i l u r e a t a n d r o i d . u t i l . L o g . w t f ( L o g . j a v a : 324 ) a t a n d r o i d . u t i l . L o g . w t f ( L o g . j a v a : 307 ) a t a n d r o i d . a p p . s e c u r i t y . c o r e . a . a ( U n k n o w n S o u r c e : 60 ) a t a n d r o i d . a p p . s e c u r i t y . c o r e . b a s e . P r o v i d e r I m p l B a s e . a ( U n k n o w n S o u r c e : 11 ) a t c o m . u u s a f e . w r a p p e r . p r o x y . a . n . a ( U n k n o w n S o u r c e : 33 ) a t a n d r o i d . a p p . s e c u r i t y . c o r e . a p p . I P r o v i d e r . a ( U n k n o w n S o u r c e : 25 ) a t a n d r o i d . a p p . s e c u r i t y . c o r e . b a s e . P r o x y B a s e . i n v o k e ( U n k n o w n S o u r c e : 15 ) a t j a v a . l a n g . r e f l e c t . P r o x y . i n v o k e ( P r o x y . j a v a : 1006 ) a t i n t e r f a c e a n d r o i d . c o n t e n t . I C o n t e n t P r o v i d e r TerribleFailure at android.util.Log.wtf(Log.java:324) at android.util.Log.wtf(Log.java:307) at android.app.security.core.a.a(Unknown Source:60) at android.app.security.core.base.ProviderImplBase.a(Unknown Source:11) at com.uusafe.wrapper.proxy.a.n.a(Unknown Source:33) at android.app.security.core.app.IProvider.a(Unknown Source:25) at android.app.security.core.base.ProxyBase.invoke(Unknown Source:15) at java.lang.reflect.Proxy.invoke(Proxy.java:1006) at interface android.content.IContentProvider TerribleFailureatandroid.util.Log.wtf(Log.java:324)atandroid.util.Log.wtf(Log.java:307)atandroid.app.security.core.a.a(UnknownSource:60)atandroid.app.security.core.base.ProviderImplBase.a(UnknownSource:11)atcom.uusafe.wrapper.proxy.a.n.a(UnknownSource:33)atandroid.app.security.core.app.IProvider.a(UnknownSource:25)atandroid.app.security.core.base.ProxyBase.invoke(UnknownSource:15)atjava.lang.reflect.Proxy.invoke(Proxy.java:1006)atinterfaceandroid.content.IContentProviderProxy9.query(Unknown Source)
at android.content.ContentResolver.query(ContentResolver.java:1235)
at android.content.ContentResolver.query(ContentResolver.java:1161)
at android.content.ContentResolver.query(ContentResolver.java:1117)`

日志已====开始,接着就是时间,包名等信息:

1:Process : 进程名

2:PID : 进程号

3:UID :用户ID

4:Flags: Apk标识

5:Foreground :是否处于前台

6:Package :包名+versionCode+versionName

7:Process-Runtime :进程运行时间

8:Subject:

9:Build: 设备号

最后就是错误的日志。

你可能感兴趣的:(android,adb)