Android 报错java.lang.RuntimeException: Unexpected exception in dex writer thread

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_33718648/article/details/81456732

Android 报错java.lang.RuntimeException: Unexpected exception in dex writer thread

解决方法:

android {
    dexOptions {
        incremental true
        javaMaxHeapSize "4g"
    }
}

猜你喜欢

转载自blog.csdn.net/qq_33718648/article/details/81456732
今日推荐