首页 > 解决方案 > 构建失败并出现 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'
        }

但一些应用程序的库似乎不再工作

标签: androidkotlinbuild

解决方案


推荐阅读