使用 Android App Bundle 时,Crashlytics 不再上传映射文件
Crashlytics no longer uploads mapping file when using Android App Bundle
当运行Build -> Generate Signed Bundle / SDK
然后选择 Android App Bundle
它使用 Play 商店签名功能生成一个新的 myApp.aab
文件。以及 myApp/outputs/mapping/release/mapping.txt
中的常规映射文件
出于某种原因,Crashlytics 无法提取这些内容。
有什么方法可以手动触发 Crashlytics 的上传过程吗?
测试于
- Gradle 版本:3.2.1
- 崩溃分析:2.9.8
- io.fabric.tools:gradle:1.+
- Android Studio 3.2.1(Windows)
我以前从未使用过App Bundle;但是,我希望您尝试将映射文件 myApp/outputs/mapping/release/mapping.txt
上传到 Play Store Console -> Android vitals -> Deobfuscation files。
祝你好运!
Fabric 终于修复了 1.31.0
中的错误
1.31.0: July 24, 2019
- Fixed mapping file uploads for Dexguard users building Android App Bundles (requires Dexguard 8.5).
- Fixed an issue which, when building Android App Bundles, caused APK builds to be triggered as well.
- Fixed an issue preventing Fabric API keys defined in a fabric.properties file from being injected properly for Android App Bundle builds.
我遇到了同样的问题,更新版本后问题得到解决:
buildscript {
...
classpath 'io.fabric.tools:gradle:1.31.0'
...
}
当运行Build -> Generate Signed Bundle / SDK
然后选择 Android App Bundle
它使用 Play 商店签名功能生成一个新的 myApp.aab
文件。以及 myApp/outputs/mapping/release/mapping.txt
出于某种原因,Crashlytics 无法提取这些内容。
有什么方法可以手动触发 Crashlytics 的上传过程吗?
测试于
- Gradle 版本:3.2.1
- 崩溃分析:2.9.8
- io.fabric.tools:gradle:1.+
- Android Studio 3.2.1(Windows)
我以前从未使用过App Bundle;但是,我希望您尝试将映射文件 myApp/outputs/mapping/release/mapping.txt
上传到 Play Store Console -> Android vitals -> Deobfuscation files。
祝你好运!
Fabric 终于修复了 1.31.0
中的错误1.31.0: July 24, 2019
- Fixed mapping file uploads for Dexguard users building Android App Bundles (requires Dexguard 8.5).
- Fixed an issue which, when building Android App Bundles, caused APK builds to be triggered as well.
- Fixed an issue preventing Fabric API keys defined in a fabric.properties file from being injected properly for Android App Bundle builds.
我遇到了同样的问题,更新版本后问题得到解决:
buildscript {
...
classpath 'io.fabric.tools:gradle:1.31.0'
...
}