Buils Error with appodeal plugin

Hi there

 

I get the following error when I try to build with the appodeal jar files included:

 

[apkbuilder] Found duplicate file for APK: assets/dex/adcolony.dex

[apkbuilder] Origin 1: /Users/nik15/Documents/Game/android/libs/plugin.appodeal.jar

[apkbuilder] Origin 2: /Users/nik15/Documents/Game/android/libs/appodeal-1.14.15.jar

 

any ideas?

 

Thanks,

Nik

Are you doing Enterprise or Simulator builds?
 

If you’re doing simulator builds are you including AdColony in your build.settings? If so, Appodeal has AdColony built in and you wouldn’t have your own AdColony implementation.

Rob

Trying to build with Enterprise

Have you tried removing the  /Users/nik15/Documents/Game/android/libs/appodeal-1.14.15.jar? I’m not 100% sure, but the plugin.appodeal.jar should have appodeal-1.14.15.jar included.

Did our instructions say to include both?

Rob

Hi Rob

Yes I have and it crashed my app - plugin.appodeal.jar requires appodeal-1.14.15.jar. I might be missing something in the whole process, can you let me know to which instructions are you referring to since I was not been able to find any.

Thanks,

Nik

@nik

It’s a bit strange. I double checked the jar files that are included in a Corona Simulator build, and they are the exact same ones that are distributed in the EnterprisePlugins tgz.

Are you using Android Studio or ant to build the project?

@nik

I found the issue. Assets have been copied over to the plugin itself which is causing the duplicate errors. The scripts for Corona Simulator builds manage to handle these duplicates gracefully, however Corona Enterprise cannot do that.

I’m going to prepare a new release of the Enterprise plugin. I’ll notify you when I’m done.

@Nik

I’ve sent you a PM. Please check.

Thanks Ingemar!

It worked!!!

Thank you Ingemar, Thanks Rob

Are you doing Enterprise or Simulator builds?
 

If you’re doing simulator builds are you including AdColony in your build.settings? If so, Appodeal has AdColony built in and you wouldn’t have your own AdColony implementation.

Rob

Trying to build with Enterprise

Have you tried removing the  /Users/nik15/Documents/Game/android/libs/appodeal-1.14.15.jar? I’m not 100% sure, but the plugin.appodeal.jar should have appodeal-1.14.15.jar included.

Did our instructions say to include both?

Rob

Hi Rob

Yes I have and it crashed my app - plugin.appodeal.jar requires appodeal-1.14.15.jar. I might be missing something in the whole process, can you let me know to which instructions are you referring to since I was not been able to find any.

Thanks,

Nik

@nik

It’s a bit strange. I double checked the jar files that are included in a Corona Simulator build, and they are the exact same ones that are distributed in the EnterprisePlugins tgz.

Are you using Android Studio or ant to build the project?

@nik

I found the issue. Assets have been copied over to the plugin itself which is causing the duplicate errors. The scripts for Corona Simulator builds manage to handle these duplicates gracefully, however Corona Enterprise cannot do that.

I’m going to prepare a new release of the Enterprise plugin. I’ll notify you when I’m done.

@Nik

I’ve sent you a PM. Please check.

Thanks Ingemar!

It worked!!!

Thank you Ingemar, Thanks Rob