Android build Issue: Found duplicate file for APK

[apkbuilder] Found duplicate file for APK: network/LuaHelper.java.template

[apkbuilder] Origin 1: /Applications/CoronaEnterprise/Projects/runningcup/android/libs/plugin.flurry.analytics.jar

[apkbuilder] Origin 2: /Applications/CoronaEnterprise/Corona/android/lib/Corona/libs/network.jar

Once too difficult to update.

Please fix it quickly.

Engineering is looking into it.

Also seeing this.

Previous version of my app was built using an old flurry 4.1 lib, and it built find and ran without any issues.

Tried rebuilding it again and now it builds, but it’s showing this runtime error when you open the app.

GL980q3.png

Then I tried updating the flurry libs to 6.2 with the new plugin.flurry.analytics.jar, and it’s now throwing the same build error as Brad.

I’m using build 2877.

Thanks.

Hi guys,

The duplicate file issue should now be fixed and is available in build 2886 or greater.

Please download the new Enterprise daily build tars and replace plugin.flurry.analytics.jar with the new one from 2886.

Thanks for filing the bug report.

Thanks. Updating. Will report back…

Update:
Confirmed. Build 2886 w the new .jar works. No other changes needed.

Thanks!

So I just received the result of the Validation test for Amazon devices.

5 of the older Kindle Fire’s no longer work. They worked with the last build setup too (2877).

FAILED:


Kindle Fire (2011)   
Kindle Fire HD (2012)   
Kindle Fire (2012)   
Kindle Fire HD 8.9 (2012)   
Kindle Fire HD 8.9 WAN (2012)   

As far as I can tell, this is the only error message in the log.

ERROR MESSAGE:


05-25 06:50:31.668: W/System.err(28034): java.lang.NullPointerException
05-25 06:50:31.676: W/System.err(28034):     at java.util.Hashtable.put(Hashtable.java:365)
05-25 06:50:31.676: W/System.err(28034):     at plugin.amazon.iap.LuaLoader$1.executeUsing(LuaLoader.java:241)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.CoronaRuntimeTaskDispatcher$TaskEvent.Send(CoronaRuntimeTaskDispatcher.java:170)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.events.EventManager.sendEvents(EventManager.java:91)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.Controller.updateRuntimeState(Controller.java:305)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame(CoronaGLSurfaceView.java:421)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1623)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1378)

 

@MochiBits

That looks like a different issue with the amazon IAP plugin.

Ok. I’ll dig deeper. The only things I changed though were the flurry plugin and the Enterprise build.

Thanks.

I’ve notified engineering about the Amazon IAP issue you posted…

Engineering is looking into it.

Also seeing this.

Previous version of my app was built using an old flurry 4.1 lib, and it built find and ran without any issues.

Tried rebuilding it again and now it builds, but it’s showing this runtime error when you open the app.

GL980q3.png

Then I tried updating the flurry libs to 6.2 with the new plugin.flurry.analytics.jar, and it’s now throwing the same build error as Brad.

I’m using build 2877.

Thanks.

Hi guys,

The duplicate file issue should now be fixed and is available in build 2886 or greater.

Please download the new Enterprise daily build tars and replace plugin.flurry.analytics.jar with the new one from 2886.

Thanks for filing the bug report.

Thanks. Updating. Will report back…

Update:
Confirmed. Build 2886 w the new .jar works. No other changes needed.

Thanks!

So I just received the result of the Validation test for Amazon devices.

5 of the older Kindle Fire’s no longer work. They worked with the last build setup too (2877).

FAILED:


Kindle Fire (2011)   
Kindle Fire HD (2012)   
Kindle Fire (2012)   
Kindle Fire HD 8.9 (2012)   
Kindle Fire HD 8.9 WAN (2012)   

As far as I can tell, this is the only error message in the log.

ERROR MESSAGE:


05-25 06:50:31.668: W/System.err(28034): java.lang.NullPointerException
05-25 06:50:31.676: W/System.err(28034):     at java.util.Hashtable.put(Hashtable.java:365)
05-25 06:50:31.676: W/System.err(28034):     at plugin.amazon.iap.LuaLoader$1.executeUsing(LuaLoader.java:241)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.CoronaRuntimeTaskDispatcher$TaskEvent.Send(CoronaRuntimeTaskDispatcher.java:170)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.events.EventManager.sendEvents(EventManager.java:91)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.Controller.updateRuntimeState(Controller.java:305)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame(CoronaGLSurfaceView.java:421)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1623)
05-25 06:50:31.676: W/System.err(28034):     at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1378)

 

@MochiBits

That looks like a different issue with the amazon IAP plugin.

Ok. I’ll dig deeper. The only things I changed though were the flurry plugin and the Enterprise build.

Thanks.

I’ve notified engineering about the Amazon IAP issue you posted…