Android 运行的时候会报错
在android
的app
层的build.gradle
里面添加如下内容:
android {
defaultConfig {
multiDexEnabled true
...
}
}
dependencies {
...
implementation 'com.android.support:multidex:1.0.3'
}
Android 在开发的时候没有报错,但是在打包的时候,报错如上
在proguard-rules.pro
文件中添加代码
-ignorewarnings
添加完毕之后,再次运行即可正常打包