- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As of last week all my builds are failing, I have not updated my plugins I checked all version. I have compile and uploaded it to google with no issues in the past. this has just start happening the end of last week..
( attached the full log )
:preDexRelease
:dexRelease UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes; at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596) at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554) at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535) at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171) at com.android.dx.merge.DexMerger.merge(DexMerger.java:189) at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454) at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303) at com.android.dx.command.dexer.Main.run(Main.java:246) at com.android.dx.command.dexer.Main.main(Main.java:215) at com.android.dx.command.Main.main(Main.java:106) FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':dexRelease'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: /Developer/tools/adt-bundle/android-sdk/build-tools/21.1.2/dx --dex --output .../FamilyReunion/platforms/android/build/intermediates/dex/release --input-list=.../FamilyReunion/platforms/android/build/intermediates/tmp/dex/release/inputList.txt Error Code: 2 Output: UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes; at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596) at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554) at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535) at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171) at com.android.dx.merge.DexMerger.merge(DexMerger.java:189) at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454) at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303) at com.android.dx.command.dexer.Main.run(Main.java:246) at com.android.dx.command.dexer.Main.main(Main.java:215) at com.android.dx.command.Main.main(Main.java:106) * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It turns out the XDK system automatically update my plugins. fortunately I had a copy of the old version that I knew worked and when I tried to installed it (locally) I'm now getting this error.
I'm now stuck in limbo I can't install the old plugin and I can't install the new one.
see attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did the error result in the plugin not being installed in your project? I've seen that error message but my plugin was still installed. If the plugin is not installing, then you might remove all references to that plugin from the various json files in the plugins directory (exit the XDK first). For example, you'll find a fetch.json, android.json, etc. there. Remove all references to either version of the admob plugin. I suspect the fetch.json is the culprit, but delete the references in all of those files. Then try adding in the older version of that plugin again.
BTW -- which version of the plugin are you trying to install?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul
the plugin was removed. The version I removed was 2.9.9 I think I have since replace the plugin with another fixed all my code and testing it now. The other plugin admob-google-cordova. seems to be working. just so much wasted time ( so sorry for venting ).
The version I was trying to install was : 2.7.8
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No more action here, please see this thread > https://software.intel.com/en-us/forums/intel-xdk/topic/600642

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page