java - Why is Ant using Jar library twice? -
i ran across problem building .apk file using ant. before added game.jar libs folder allright , ant succesfully produced .apk file.
after added game.jar libs folder trouble starts. during [dex] phase seems still allright.
[dex] input: path\to\project\libs\game.jar
but in [apkbuilder] phase ant failed message:
[apkbuilder] found duplicate file apk: classes.dex [apkbuilder] origin 1: path\to\project\bin\classes.dex [apkbuilder] origin 2: path\to\project\libs\game.jar
game.jar added libs folder.
any idea cause problem? need specify setting? can prevent ant using game.jar in [apkbuilder] phase ?
Comments
Post a Comment