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.5.2 官方中文步兵版[更新][电脑/2.4G] [3D互动SLG/中文/动态]
虚拟少女开发计划V1.5.2 官方中文步兵版[更新][电脑/2.4G] [3D互动SLG/中文/动态]
10分钟前 有人购买 去瞅瞅看

站点公告

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