Android的multidex使用eclipse支持库Android、multidex、eclipse

2023-09-12 06:10:37 作者:小云朵想吃糖

使用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的的蚂蚁任务项目不再保持(它驻留在遗产文件夹)。 因此,如果您不能迁移到摇篮,你可以编辑 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的Andr​​oid的插件的不支持多点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)