其他分享
首页 > 其他分享> > The number of method references in a .dex file cannot exceed 64K.

The number of method references in a .dex file cannot exceed 64K.

作者:互联网

解决方法:

build.gradle(module:app)里加上以下语句

defaultConfig {
	...
	multiDexEnabled true 
	...
	}
dependencies {	
	...
	implementation 'androidx.multidex:multidex:2.0.1'
	...
	}

标签:dex,...,exceed,64K,number,module,multidex
来源: https://blog.csdn.net/qq_42281792/article/details/95757424