业务原因,我用高德的猎鹰SDK写了一个原生plugin,打包是没有问题的,可以正常使用。
如果我又想在应用中在manifest.json里面启用地图相关的SDK,这样的话打包的时候,就会有两套库
然后我再打包的时候:
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':transformClassesWithMultidexlistForRelease'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list. -
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 7s
2 个回复
码农一生
我页遇到这样的问题,只能离线打包。
cc86 - bug
怎么解决?