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'

人已赞赏
安卓

Android studio 4.0新建类不带public【解决方法】

2020-12-23 14:23:07

Nginx

nginx 重启报错:nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)

2020-10-21 10:12:51

'); })();