更新 dexguard 版本时出现错误 ---- Crashlytics 插件在 DexGuard 插件之前应用。
类路径'com.android.tools.build:gradle:3.4.1'
dexguard版本8.5.01
我的插件--
应用插件:'com.android.application'
应用插件:'io.fabric'
应用插件:
'com.google.firebase.firebase-crash'
应用插件:'dexguard'
最佳答案
对您的插件序列进行更改。请在应用程序插件后进行dexguard。基本上你需要在 dexguard 插件之后保留 Fabric 插件
apply plugin: 'com.android.application'
apply plugin: 'dexguard'
apply plugin: 'io.fabric'
apply plugin: 'com.google.firebase.firebase-crash'
关于android - 更新 dexguard 版本时抛出错误 - Crashlytics 插件在 DexGuard 插件之前应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57708566/