twilio / twilio-chat-demo-android

Chat API Demo Application for Android
MIT License
62 stars 51 forks source link

Fabric crashlytics symbolication set up #124

Closed berkus closed 3 years ago

berkus commented 4 years ago

@berkus I followed the instructions to upload symbols in fabric/firebase manuals. crashlyticsUploadSymbols depends on crashlyticsGenerateSymbols task which fails because we are expected to set androidNdkLibsOut and androidNdkOut parameter if the symbols are not in the default folder "/obj" in module path. (And it's not).

I checked build folder and located a lib folder with twilio native library, but no obj, even if our dependency is "com.twilio:chat-android-with-symbols". build/intermediates/transforms/mergeJniLibs/prod/release/0/lib

Where is it supposed to be generated and is there anything I missing here?

Originally posted by @sfseyhan in https://github.com/twilio/twilio-chat-demo-android/issues/56#issuecomment-577201842

sfseyhan commented 4 years ago

After using the same gradle plugin version as demo, outputs are created at the same location as demo app, but new crashes in crashlytics are still not symbolicated after uploading the symbols for same twilio version we use in production. (4.2.5)

rusmonster commented 4 years ago

@sfseyhan Please try follow:

  1. Double check you are using chat-android-with-symbols dependency (not just chat-android)
  2. Remove file
    ~/Library/Caches/com.crashlytics/com.crashlytics.tools.androidstudio/logs/crashlytics.log

    then run again

    ./gradlew crashlyticsUploadSymbolsRelease 

    and check the crashlytics.log for errors (post it here if possible)

  3. If nothing helped - checkout the demo app, set your fabricApiKey as described here and check if it works for you at least with demo app?
sfseyhan commented 4 years ago

crashlyticsUploadSymbols grade task was always up-to-date due to crashlytics cache even for clean builds. After removing the cache it started to execute crashlyticsUploadSymbols with no errors in gradle logs or crashlytics.log file. However, new crash reports are still not symbolicated.

Since I cannot reproduce the crash myself, I cannot check if it works with demo app.

rusmonster commented 4 years ago

@sfseyhan

  1. Please post your crashlytics.log here
  2. In demo app we have the simulate crash menu (see screenshot) After you setup your fabricApiKey in the demoapp - these simulated crashes should come into your crashlytics account. Please check that it works for you.
sfseyhan commented 4 years ago

Here is crashlytics.log. There were apiKey and apiSecret in the logs so I removed those lines.

2020-02-03 13:36:00.155 [DEBUG] (Execution worker for ':' Thread 2) com.crashlytics - Invoked Crashlytics Developer Tools with arguments: -androidOutputManifestDirectories property(interface org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_manifests/devStage)) -injectableManifest true -androidBaseManifest /Users/furkan.seyhan/StudioProjects/scoober-android/app/src/main/AndroidManifest.xml -buildEvent true -androidManifest /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_manifests/devStage/AndroidManifest.xml -generateResourceFile true -tool io.fabric.tools.gradle -version 1.26.1 -properties /Users/furkan.seyhan/StudioProjects/scoober-android/app/fabric.properties -buildId 3161798a-e397-4859-9fab-5176941ed88d -targetResValueDir /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/generated/fabric/res/dev/stage -projectPath /Users/furkan.seyhan/StudioProjects/scoober-android/app -androidRes /Users/furkan.seyhan/StudioProjects/scoober-android/app/src/main/res -androidAssets /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_assets/devStage/out -googleServicesResDir /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/generated/res/google-services/dev/stage 2020-02-03 13:36:00.163 [DEBUG] (Execution worker for ':' Thread 2) com.crashlytics - Generating crashlytics resources 2020-02-03 13:36:00.163 [DEBUG] (Execution worker for ':' Thread 2) com.crashlytics - Generating build info into assets folder: /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_assets/devStage/out 2020-02-03 13:36:00.163 [DEBUG] (Execution worker for ':' Thread 2) com.crashlytics - Updating build properties at: /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_assets/devStage/out/crashlytics-build.properties 2020-02-03 13:36:00.164 [DEBUG] (Execution worker for ':' Thread 2) com.crashlytics - Set build id to 3161798a-e397-4859-9fab-5176941ed88d 2020-02-03 13:36:00.165 [DEBUG] (Build Event Notification) com.crashlytics - Build Event: com.takeaway.driver ID:3161798a-e397-4859-9fab-5176941ed88d Tool:io.fabric.tools.gradle 1.26.1 Base Package Name:com.takeaway.driver Twitter Client Application Id:null API Secret Null? false Extra Details:[null] 2020-02-03 13:36:00.170 [DEBUG] (Build Event Notification) com.crashlytics - REQUEST: https://api.crashlytics.com/spi/v1/platforms/android/apps/com.takeaway.driver/built 2020-02-03 13:36:00.992 [DEBUG] (Build Event Notification) com.crashlytics - POST response: [reqId=381655651fb87a8c37c8f919b9b777e4] 200 2020-02-03 13:38:21.867 [DEBUG] (Execution worker for ':') com.crashlytics - Invoked Crashlytics Developer Tools with arguments: -generateCSyms true -androidOutputManifestDirectories property(interface org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_manifests/devStage)) -enableNDK true -cSymArchive /Users/furkan.seyhan/Library/Caches/com.crashlytics/com.crashlytics.tools/app-4c2d6cda3ee098399ffbdba3a7e1dba683a6545b/dev/stage/csyms_archive -androidManifest /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_manifests/devStage/AndroidManifest.xml -androidRes /Users/furkan.seyhan/StudioProjects/scoober-android/app/src/main/res -androidBaseManifest /Users/furkan.seyhan/StudioProjects/scoober-android/app/src/main/AndroidManifest.xml -properties /Users/furkan.seyhan/StudioProjects/scoober-android/app/fabric.properties -cSymGen /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/fabric/dev/stage/csyms -cSymCache /Users/furkan.seyhan/Library/Caches/com.crashlytics/com.crashlytics.tools/app-4c2d6cda3ee098399ffbdba3a7e1dba683a6545b/dev/stage/csyms -buildId 3161798a-e397-4859-9fab-5176941ed88d -androidNdkLibsOut /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/stripped_native_libs/devStage/out/lib -googleServicesResDir /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/generated/res/google-services/dev/stage -targetResValueDir /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/generated/fabric/res/dev/stage -androidAssets /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_assets/devStage/out -projectPath /Users/furkan.seyhan/StudioProjects/scoober-android/app -androidNdkOut /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_native_libs/devStage/out/lib 2020-02-03 13:38:21.897 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics generating cSYM files from object files in /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_native_libs/devStage/out/lib: 2020-02-03 13:38:21.897 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /armeabi-v7a/libgmm-jni.so 2020-02-03 13:38:21.942 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:38:21.943 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /armeabi-v7a/libgmm-jni.so, skipping. 2020-02-03 13:38:21.943 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /armeabi-v7a/libcrashlytics.so 2020-02-03 13:38:21.952 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:38:21.953 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /armeabi-v7a/libcrashlytics.so, skipping. 2020-02-03 13:38:21.953 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /armeabi-v7a/libtwilio-rtd-native.so 2020-02-03 13:38:22.907 [DEBUG] (Execution worker for ':') com.crashlytics - Using DWARF data for cSYM generation. 2020-02-03 13:39:00.833 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /armeabi-v7a/libconstant.so 2020-02-03 13:39:00.836 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:39:00.836 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /armeabi-v7a/libconstant.so, skipping. 2020-02-03 13:39:00.836 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /x86/libgmm-jni.so 2020-02-03 13:39:00.850 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:39:00.850 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /x86/libgmm-jni.so, skipping. 2020-02-03 13:39:00.850 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /x86/libcrashlytics.so 2020-02-03 13:39:00.853 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:39:00.853 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /x86/libcrashlytics.so, skipping. 2020-02-03 13:39:00.853 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /x86/libtwilio-rtd-native.so 2020-02-03 13:39:01.524 [DEBUG] (Execution worker for ':') com.crashlytics - Using DWARF data for cSYM generation. 2020-02-03 13:39:18.615 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /x86/libconstant.so 2020-02-03 13:39:18.617 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:39:18.617 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /x86/libconstant.so, skipping. 2020-02-03 13:39:18.617 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /arm64-v8a/libgmm-jni.so 2020-02-03 13:39:18.629 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:39:18.629 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /arm64-v8a/libgmm-jni.so, skipping. 2020-02-03 13:39:18.629 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /arm64-v8a/libcrashlytics.so 2020-02-03 13:39:18.634 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:39:18.634 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /arm64-v8a/libcrashlytics.so, skipping. 2020-02-03 13:39:18.634 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /arm64-v8a/libtwilio-rtd-native.so 2020-02-03 13:39:19.550 [DEBUG] (Execution worker for ':') com.crashlytics - Using DWARF data for cSYM generation. 2020-02-03 13:39:49.100 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /arm64-v8a/libconstant.so 2020-02-03 13:39:49.102 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:39:49.103 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /arm64-v8a/libconstant.so, skipping. 2020-02-03 13:39:49.103 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /armeabi/libcrashlytics.so 2020-02-03 13:39:49.105 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:39:49.105 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /armeabi/libcrashlytics.so, skipping. 2020-02-03 13:39:49.105 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /x86_64/libgmm-jni.so 2020-02-03 13:39:49.117 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:39:49.118 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /x86_64/libgmm-jni.so, skipping. 2020-02-03 13:39:49.118 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /x86_64/libcrashlytics.so 2020-02-03 13:39:49.120 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:39:49.120 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /x86_64/libcrashlytics.so, skipping. 2020-02-03 13:39:49.120 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /x86_64/libtwilio-rtd-native.so 2020-02-03 13:39:49.815 [DEBUG] (Execution worker for ':') com.crashlytics - Using DWARF data for cSYM generation. 2020-02-03 13:40:05.830 [DEBUG] (Execution worker for ':') com.crashlytics - Generating cSYM for /x86_64/libconstant.so 2020-02-03 13:40:05.844 [DEBUG] (Execution worker for ':') com.crashlytics - Using ELF data for cSYM generation. 2020-02-03 13:40:05.845 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics found no symbols for /x86_64/libconstant.so, skipping. 2020-02-03 13:40:06.143 [DEBUG] (Daemon worker Thread 3) com.crashlytics - Invoked Crashlytics Developer Tools with arguments: -androidOutputManifestDirectories property(interface org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_manifests/devStage)) -enableNDK true -cSymArchive /Users/furkan.seyhan/Library/Caches/com.crashlytics/com.crashlytics.tools/app-4c2d6cda3ee098399ffbdba3a7e1dba683a6545b/dev/stage/csyms_archive -androidManifest /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_manifests/devStage/AndroidManifest.xml -androidRes /Users/furkan.seyhan/StudioProjects/scoober-android/app/src/main/res -androidBaseManifest /Users/furkan.seyhan/StudioProjects/scoober-android/app/src/main/AndroidManifest.xml -properties /Users/furkan.seyhan/StudioProjects/scoober-android/app/fabric.properties -cSymGen /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/fabric/dev/stage/csyms -cSymCache /Users/furkan.seyhan/Library/Caches/com.crashlytics/com.crashlytics.tools/app-4c2d6cda3ee098399ffbdba3a7e1dba683a6545b/dev/stage/csyms -buildId 3161798a-e397-4859-9fab-5176941ed88d -androidNdkLibsOut /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/stripped_native_libs/devStage/out/lib -googleServicesResDir /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/generated/res/google-services/dev/stage -targetResValueDir /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/generated/fabric/res/dev/stage -androidAssets /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_assets/devStage/out -projectPath /Users/furkan.seyhan/StudioProjects/scoober-android/app -cacheCSyms true -androidNdkOut /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_native_libs/devStage/out/lib 2020-02-03 13:40:06.153 [DEBUG] (Daemon worker Thread 3) com.crashlytics - Crashlytics caching 4 code mapping files for upload. 2020-02-03 13:40:11.632 [DEBUG] (Execution worker for ':') com.crashlytics - Invoked Crashlytics Developer Tools with arguments: -androidOutputManifestDirectories property(interface org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_manifests/devStage)) -enableNDK true -cSymArchive /Users/furkan.seyhan/Library/Caches/com.crashlytics/com.crashlytics.tools/app-4c2d6cda3ee098399ffbdba3a7e1dba683a6545b/dev/stage/csyms_archive -androidManifest /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_manifests/devStage/AndroidManifest.xml -androidRes /Users/furkan.seyhan/StudioProjects/scoober-android/app/src/main/res -androidBaseManifest /Users/furkan.seyhan/StudioProjects/scoober-android/app/src/main/AndroidManifest.xml -properties /Users/furkan.seyhan/StudioProjects/scoober-android/app/fabric.properties -uploadCSyms true -cSymGen /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/fabric/dev/stage/csyms -cSymCache /Users/furkan.seyhan/Library/Caches/com.crashlytics/com.crashlytics.tools/app-4c2d6cda3ee098399ffbdba3a7e1dba683a6545b/dev/stage/csyms -buildId 3161798a-e397-4859-9fab-5176941ed88d -androidNdkLibsOut /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/stripped_native_libs/devStage/out/lib -googleServicesResDir /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/generated/res/google-services/dev/stage -targetResValueDir /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/generated/fabric/res/dev/stage -androidAssets /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_assets/devStage/out -projectPath /Users/furkan.seyhan/StudioProjects/scoober-android/app -androidNdkOut /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_native_libs/devStage/out/lib 2020-02-03 13:40:11.637 [DEBUG] (Execution worker for ':') com.crashlytics - Crashlytics attempting to upload cSYM files. 2020-02-03 13:40:11.646 [DEBUG] (Execution worker for ':') com.crashlytics - POST file: /Users/furkan.seyhan/Library/Caches/com.crashlytics/com.crashlytics.tools/app-4c2d6cda3ee098399ffbdba3a7e1dba683a6545b/dev/stage/csyms/twilio-rtd-native-aarch64-34b2632e155ceb15e2941c9f3cb7ec997a91028c.cSYM.gz to URL: https://cm.crashlytics.com/api/v3/platforms/android/code_mappings 2020-02-03 13:40:22.278 [DEBUG] (Execution worker for ':') com.crashlytics - POST response: [reqId=5199e0b7d27c468257ce3e584fabef0a7830dfebbd9e4c97] 202 2020-02-03 13:40:22.280 [DEBUG] (Execution worker for ':') com.crashlytics - POST file: /Users/furkan.seyhan/Library/Caches/com.crashlytics/com.crashlytics.tools/app-4c2d6cda3ee098399ffbdba3a7e1dba683a6545b/dev/stage/csyms/twilio-rtd-native-x86_64-81297bebb8cef627e1ece0d9ed01f82facd7961e.cSYM.gz to URL: https://cm.crashlytics.com/api/v3/platforms/android/code_mappings 2020-02-03 13:40:24.463 [DEBUG] (Execution worker for ':') com.crashlytics - POST response: [reqId=4bb79e56bddd5b489a82fef110723a1dbd2739e8c5ceae17] 202 2020-02-03 13:40:24.465 [DEBUG] (Execution worker for ':') com.crashlytics - POST file: /Users/furkan.seyhan/Library/Caches/com.crashlytics/com.crashlytics.tools/app-4c2d6cda3ee098399ffbdba3a7e1dba683a6545b/dev/stage/csyms/twilio-rtd-native-x86-41c7bed8431c9ca6aa4b19dd1d8376aa63a9cac7.cSYM.gz to URL: https://cm.crashlytics.com/api/v3/platforms/android/code_mappings 2020-02-03 13:40:26.608 [DEBUG] (Execution worker for ':') com.crashlytics - POST response: [reqId=a11b8509ef124932c8d3e0380da3b8caf5014a660aca1c9e] 202 2020-02-03 13:40:26.609 [DEBUG] (Execution worker for ':') com.crashlytics - POST file: /Users/furkan.seyhan/Library/Caches/com.crashlytics/com.crashlytics.tools/app-4c2d6cda3ee098399ffbdba3a7e1dba683a6545b/dev/stage/csyms/twilio-rtd-native-armv7-b50d54f583f4ba234b62585b1e93b91151a1c4fb.cSYM.gz to URL: https://cm.crashlytics.com/api/v3/platforms/android/code_mappings 2020-02-03 13:40:28.757 [DEBUG] (Execution worker for ':') com.crashlytics - POST response: [reqId=09bd78a7f9097e17d17ae368b454c061edb32bdbb259e296] 202 2020-02-03 13:40:28.758 [DEBUG] (Execution worker for ':') com.crashlytics - cSYM file(s) uploaded. 2020-02-03 13:40:32.635 [DEBUG] (Daemon worker Thread 3) com.crashlytics - Invoked Crashlytics Developer Tools with arguments: -androidOutputManifestDirectories property(interface org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_manifests/devDebug)) -injectableManifest true -androidBaseManifest /Users/furkan.seyhan/StudioProjects/scoober-android/app/src/main/AndroidManifest.xml -buildEvent true -androidManifest /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_manifests/devDebug/AndroidManifest.xml -generateResourceFile true -tool io.fabric.tools.gradle -version 1.26.1 -properties /Users/furkan.seyhan/StudioProjects/scoober-android/app/fabric.properties -buildId 508f28ac-e36a-4028-ab54-42d38bb9272a -targetResValueDir /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/generated/fabric/res/dev/debug -projectPath /Users/furkan.seyhan/StudioProjects/scoober-android/app -androidRes /Users/furkan.seyhan/StudioProjects/scoober-android/app/src/main/res -androidAssets /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_assets/devDebug/out -googleServicesResDir /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/generated/res/google-services/dev/debug 2020-02-03 13:40:32.643 [DEBUG] (Daemon worker Thread 3) com.crashlytics - Generating crashlytics resources 2020-02-03 13:40:32.643 [DEBUG] (Daemon worker Thread 3) com.crashlytics - Generating build info into assets folder: /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_assets/devDebug/out 2020-02-03 13:40:32.643 [DEBUG] (Daemon worker Thread 3) com.crashlytics - Updating build properties at: /Users/furkan.seyhan/StudioProjects/scoober-android/app/build/intermediates/merged_assets/devDebug/out/crashlytics-build.properties 2020-02-03 13:40:32.644 [DEBUG] (Daemon worker Thread 3) com.crashlytics - Set build id to 508f28ac-e36a-4028-ab54-42d38bb9272a 2020-02-03 13:40:32.645 [DEBUG] (Build Event Notification) com.crashlytics - Build Event: com.takeaway.driver ID:508f28ac-e36a-4028-ab54-42d38bb9272a Tool:io.fabric.tools.gradle 1.26.1 Base Package Name:com.takeaway.driver Twitter Client Application Id:null API Secret Null? false Extra Details:[null] 2020-02-03 13:40:32.649 [DEBUG] (Build Event Notification) com.crashlytics - REQUEST: https://api.crashlytics.com/spi/v1/platforms/android/apps/com.takeaway.driver/built 2020-02-03 13:40:33.341 [DEBUG] (Build Event Notification) com.crashlytics - POST response: [reqId=54e444b08caf88f79358d39bef9c3e54] 200

sfseyhan commented 4 years ago

When I tried simulate crash, I got symbolicated crashes in crashlytics.

Crashed: Thread #1 SIGTRAP 0x00000075a95eabb0 libtwilio-rtd-native.so ChatClient.cpp - Line 472 Java_com_twilio_chat_ChatClient_simulateCrash + 472

libtwilio-rtd-native.so ChatClient.cpp - Line 466 Java_com_twilio_chat_ChatClient_simulateCrash + 466

libart.so (Missing) ...

But the real crashes we get are still not symbolicated.

Crashed: Thread #1 SIGSEGV 0x0000000000000000 libtwilio-rtd-native.so (Missing) ....

sfseyhan commented 4 years ago

Apparently native libraries are compressed with app bundles. It's suggested to add the following line in gradle.properties > https://stackoverflow.com/a/56586785/5309676.

android.bundle.enableUncompressedNativeLibs=false

I will post after our next release if this worked.

berkus commented 4 years ago

@sfseyhan did that work for you?

berkus commented 3 years ago

No response, closing.