1

I'm facing the issue with the com.distriq.Core ANE, it's conflicting with my other ANEs (I know it when I remove it from app packaging, but after include this ANE, Flash Builder was failed to build).

Here is the error message:

Error occurred while packaging the application:

dx tool failed:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lcom/adobe/air/ActivityResultCallback;
    at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
    at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
    at com.android.dx.command.dexer.Main.processClass(Main.java:737)
    at com.android.dx.command.dexer.Main.processFileBytes(Main.java:678)
    at com.android.dx.command.dexer.Main.access$300(Main.java:83)
    at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:607)
    at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
    at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
    at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
    at com.android.dx.command.dexer.Main.processOne(Main.java:637)
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:511)
    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:281)
    at com.android.dx.command.dexer.Main.run(Main.java:247)
    at com.android.dx.command.dexer.Main.main(Main.java:215)
    at com.android.dx.command.Main.main(Main.java:106)
1 error; aborting

So I'm asking for an advise, what should I do now?

Much appreciated !

4

2 回答 2

3

Distriqt 的支持团队已经为我提供了一个名为“com.distriq.Core.noair.com”的新 ANE,其中删除了冲突的 JAR 文件。

https://github.com/distriqt/ANE-Core/tree/master/lib

如果有人想知道它与哪个 ANE 冲突,请使用 MyFlashLab 团队的“overideAir.ane”。

为来自 Distriqt 的惊人支持竖起大拇指!

干杯!

于 2016-12-18T04:09:56.767 回答
0

冲突将来自其他提供商的 ANE,如果您联系我们的支持,我们将与您一起删除与您的其他 ANE 冲突的类。

于 2016-12-12T20:48:00.247 回答