Multiple dex files - Conversion to Dalvik format failed - Unable to execute dex

前端 未结 5 1143
独厮守ぢ
独厮守ぢ 2021-01-03 23:35

I have 2 app versions - pro and lite. They are both already on the market at v1.01. I am trying to release v1.1 for both. This update includes SwawrmConnect integration i

5条回答
  •  感情败类
    2021-01-04 00:19

    I strongly suspect this is your problem

    1. Right click your project
    2. Look under the "Android" option
    3. In the lower pane look if "Swarm Connect" is present
    4. If not, add it (though I really suspect it already is there)
    5. Remove Swarm.jar from your libs directory

    the reason being: when you add a library project to an Android project in Eclipse, it doesn't show up in your libs directory. I actually tried to add just the .jar file to a project and got told that that was the wrong approach (at least until API 14, I think).

    My guess is, in your "non-pro" version you didn't link it in the project options and thus it still compiles correctly. Still, you should link it the way I just described to avoid problems when the library tries to access its own resources.

提交回复
热议问题