gpt4 book ai didi

Android maven插件生成多个dex文件

转载 作者:行者123 更新时间:2023-11-29 00:16:30 26 4
gpt4 key购买 nike

如何使用 android maven 插件生成多个 dex 文件而不是一个来避免 android 64k 方法问题?可以使用这个插件来做到这一点,还是我必须使用 gradle 来做到这一点?

解决方案:使用此拉取请求 https://github.com/simpligility/android-maven-plugin/pull/482该插件将能够创建可以与新的 Android Multidex 支持库一起正常工作的 android 应用程序

最佳答案

我在 android-maven-plugin 版本 4.0.0-rc.1 的更改日志中看到支持 multi-dex。参见 https://code.google.com/p/maven-android-plugin/wiki/Changelog也在来源https://github.com/simpligility/android-maven-plugin/blob/master/src/main/java/com/jayway/maven/plugins/android/phase08preparepackage/DexMojo.java是多dex支持。但是我还没有看到如何在 pom.xml 文件中配置 dex(没有 docu jet)。也许这有帮助 https://groups.google.com/forum/#!topic/maven-android-developers/Ren55dpnzsw

关于Android maven插件生成多个dex文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26533280/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com