Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k views
in Technique[技术] by (71.8m points)

crashlytics - Android Console Crash details Stacktrace

i have an App available at the Android Market, and im getting some crashs/ANRs but a cant identify where is going this crashes in the project.

I imagine the code is obfuscated, i search in the documentation this: android.buildTypes.release.ndk.debugSymbolLevel = { SYMBOL_TABLE | FULL }

Select the debug symbol level from the following: "

Use SYMBOL_TABLE to get function names in the Play Console's symbolicated stack traces. This level supports tombstones.

Use FULL to get function names, files, and line numbers in the Play Console's symbolicated stack traces.

If your project builds an APK, use the build.gradle build setting shown earlier to generate the native debug symbols file separately. Manually upload the native debug symbols file to the Google Play Console. As part of the build process, the Android Gradle plugin outputs this file in the following project location:

app/build/outputs/native-debug-symbols/variant-name/native-debug-symbols.zip

"

but i can`t update to 4.1 to upload symbols file, doest anyone know other way?

An exemple of a trace:

java.lang.RuntimeException: 
at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5036)
at android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:5065)
at android.app.servertransaction.DestroyActivityItem.execute (DestroyActivityItem.java:44)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState 
(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2046)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:225)
at android.app.ActivityThread.main (ActivityThread.java:7564)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:950)
Caused by: java.lang.NullPointerException: 
at o.??.onDestroy (SourceFile:100)
at androidx.fragment.app.Fragment.performDestroy (SourceFile:3126)
at o.??.? (SourceFile:679)
at o.??.ι (SourceFile:1357)
at o.??.? (SourceFile:1417)
at o.??.? (SourceFile:1495)
at o.??.Ι (SourceFile:1548)
at o.??.? (SourceFile:2796)
at o.??.? (SourceFile:2780)
at o.??.? (SourceFile:334)
at androidx.fragment.app.FragmentActivity.onDestroy (SourceFile:374)
at androidx.appcompat.app.AppCompatActivity.onDestroy (SourceFile:242)
at com.itau.investimentos.navigation.NavigationActivity.onDestroy (SourceFile:177)
at android.app.Activity.performDestroy (Activity.java:8203)
at android.app.Instrumentation.callActivityOnDestroy (Instrumentation.java:1342)
at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5021)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...