Android studio 使用gradlew多渠道打包导致磁盘空间 严重不足解决方案

在 app /build.gradle 里面

android {
	。。。。。
	添加如下代码
	 //解决android 打包导致磁盘空间不足
    dexOptions {
        javaMaxHeapSize "4g" //specify the heap size for the dex process
        preDexLibraries = false //delete the already predexed libraries
    }

}

猜你喜欢

转载自blog.csdn.net/qq_21937107/article/details/89030983