• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

NativeMap ANE from distriqt problem (AIR for Android)

New Here ,
Jun 11, 2015 Jun 11, 2015

Copy link to clipboard

Copied

Hello!

I'm using few distriqt extensions in AIR project, but seems like NativeMaps have some conflict with other ANE(s) or something, here is ADT compiling result:

dx tool failed: UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lcom/distriqt/extension/nativemaps/R$attr; 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) warning: Ignoring InnerClasses attribute for an anonymous inner class...

and after that a lot of errors but seems like this is the reason.

I'm using: Calendar, Notifications, Dialog, PushNotifications, NativeMaps + GooglePlayServices, ApplicationRater, also GoViral (not from distriqt, but it's not the reason of the problem).

Android library updated.

Does anybody can help me?

TOPICS
Development

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Jun 11, 2015 Jun 11, 2015

Copy link to clipboard

Copied

AlexT,

First try to find which set of ANEs is creating this problem and then follow the steps mentioned at blog Multiple ANEs and conflicting resources

Hope that helps!

-Nimisha

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 14, 2015 Jun 14, 2015

Copy link to clipboard

Copied

the problem is in another structure of their extensions, there are no these files in their builds...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 15, 2015 Jun 15, 2015

Copy link to clipboard

Copied

Hi,

We've made some updates to address conflicting resources on Android. Could you update to the latest ANE's and let me know if you are still having the issue?

Cheers

Michael

air native extensions // https://airnativeextensions.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 17, 2016 Nov 17, 2016

Copy link to clipboard

Copied

LATEST

check jar files inside your ane plugins.

there can be R class that causing the conflict.

also if you use ant to build resources make sure removing R generation process.

error while compiling with com.distriqt.CustomResources.ane · Issue #9 · distriqt/ANE-CustomResource...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines