Error: Cannot fit requested classes in a single dex file【解决方法】

今天爱分享给大家带来Error: Cannot fit requested classes in a single dex file【解决方法】,希望能够帮助到大家。


Error: Cannot fit requested classes in a single dex file (# methods: 72725 > 65536)

1.在app的gradle下defaultConfig配置添加:


multiDexEnabled true

2.在app的gradle下的dependencies配置添加:


implementation 'com.android.support:multidex:1.0.3'

原文链接:https://blog.itblood.com/4033.html,转载请注明出处。
0
堕落/崭新世界V1.05A 官方中文正式版 [更新][电脑/1.2G](Fallen / Brand New World) [养成经营SLG/中文/动态]
堕落/崭新世界V1.05A 官方中文正式版 [更新][电脑/1.2G](Fallen / Brand New World) [养成经营SLG/中文/动态]
1分钟前 有人购买 去瞅瞅看

站点公告

显示验证码
没有账号?注册  忘记密码?