Android的multidex使用eclipse支持库 [英] Android multidex support library using eclipse
问题描述
使用Eclipse,可以使用multidex创建多个生成Android项目 DEX文件?搜索过,我发现怎么做,用摇篮而是没什么可说上使用net Eclipse的不摇篮
Using Eclipse, is possible to generate an Android project using multidex for creating multiple dex files? Searching over the net I found how to do that using gradle but nothing about to use that on Eclipse without gradle
推荐答案
它看起来像ADT的的蚂蚁任务项目不再保持(它驻留在遗产文件夹)。
因此,如果您不能迁移到摇篮,你可以编辑<一href="https://android.googlesource.com/platform/tools/base/+/master/legacy/ant-tasks/src/main/java/com/android/ant/DexExecTask.java"相对=nofollow> DexExecTask 手动。你当然有在本地重建项目。
It looks like ADT's ant-tasks project is no longer maintained (it resides under 'legacy' folder).
So if you can't migrate to Gradle, you can edit the DexExecTask manually. You'll have of course to rebuild the project locally..
Maven的Android的插件的不支持多点DEX 。 然而,目前有一个小问题:放在错误的位置二次DEX文件。 致力于这拉请求解决这个问题,敬请关注!秒>(修正了4.0.0)
maven-android-plugin does support multi-dex. However, it currently has a small issue: secondary dex files placed in wrong location. This pull request strives to fix that, so stay tuned! (Fixed in 4.0.0)
这篇关于Android的multidex使用eclipse支持库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!