mainDexList.txt, offset: 19866, line: 351, column: -1, Illegal main-dex-list entry 'java/lang.reflect.ParameterizedType.class'.
今天弄dueros的项目,然后一直报错,在网上查了好多,原因都是:分包错了,分包不够。
然后再网上查找到了答案,
添加下面的三行就可以了。
multiDexEnabled true multiDexKeepProguard file('multiDexKeep.pro') // 这个不用管,keep specific classes using proguard syntax multiDexKeepFile file('multidex-config.txt') // 这个换成自己的