Crashlytics Missing NDK symbols with android app bundle

*爱你&永不变心* 提交于 2019-12-11 10:26:18

问题


Firebase Crashlytics symbol upload not working with android app bundle (AAB)

The setup was done following the instructions here: https://firebase.google.com/docs/crashlytics/get-started#android

AndroidManifest.xml:

<meta-data android:name="firebase_crashlytics_collection_enabled"  
 android:value="false" />

build.gradle :

implementation 'com.crashlytics.sdk.android:crashlytics-ndk:2.0.5'

for crashlytics ndk support

Fabric.with(Fabric.Builder(this)
                    .kits(Crashlytics(), CrashlyticsNdk())
                    .build())

Expect the native crashes to show up on crashlytics. Do not see any native crashes.


回答1:


As suggested in the comments, you need to enable uncompressed native libs in order to get symbolication of native crashes working in Firebase Crashlytics.

Add this to your app's gradle.properties:

android.bundle.enableUncompressedNativeLibs=false


来源:https://stackoverflow.com/questions/55423548/crashlytics-missing-ndk-symbols-with-android-app-bundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!