android - 构建失败并出现 D8 错误
问题描述
我无法再在我的设备上使用 Android 5.1.1 构建我的应用程序 否则,我对 Android 8 - 9 设备没有任何问题。我在构建过程中遇到此错误:
D8 errors : Class content provided for type descriptor net.nend.android.S actually defines class net.nend.android.s
编辑:如果我这样做,我可以建造
debug {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
但一些应用程序的库似乎不再工作
解决方案
推荐阅读
- c# - Web 服务器访问网络驱动器时出现间歇性 System.IO.DirectoryNotFoundException
- android - 单击 addImage 按钮时,图片未显示。代码中缺少什么?
- c++ - 如何创建variate_generator的向量?
- android - 无法打开活动:无法创建 Android 视图模型的实例
- angular - 我错过了什么我的 RXJS 服务不返回数组?
- ios - 如何从 Health 应用程序访问和读取步行事件?
- codeigniter-3 - 文件上传时数组到字符串转换错误,显示错误但没有成功数据
- classnotfoundexception - ClassNotFound 与 Ozzie、Azure HDInsight 和 Spark2
- python - Pandas - groupby,其中每一行都有多个值存储在列表中
- asynchronous - 离子异步 ngFor 数据