I get "Unable to convert classes to dex format" error when building for Android

If you get an error with the message Unable to convert classes to dex format after importing the Gamedonia SDK to your project and building for Android, it probably means that you have some other plugin conflicting with Gamedonia.

Usually what happens is that some .jar file from a plugin is imported twice (by Gamedonia and by other plugins) resulting in a duplicate that clashes when building for Android.

Our recommendation is that you try to find any duplicates and remove them. This process depends on each plugin, of course, but these are some files that some users have detected as possible duplicates when there is a plugin clash:

  • android-support-v4.jar
  • google-play-services_lib