Error while building for Android- Error code : 256

I’ve been trying to make an android build of my game since morning but keep getting a build error, with error code - 256. 

This is what I get on the console :

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ‘:App:packageReleaseBundle’.

> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade

   > File ‘root/res/drawable-xxhdpi-v4/ic_maps_indicator_current_position_anim1.png’ uses reserved file or directory name ‘res’.

This has been happening only in case of Android, no problems for ios. I have tried building multiple projects and couldn’t succeed with any. Could this be a problem at my end or is something wrong on Corona’s server.

Thanks.  

@Rob @vlads could you please have a look?

Please go to the 64-bit Android forum, follow the instructions in the pinned post to increase your debugging level.

Capture your entire build log and use a service like pastebin.com to paste the log to and share the link back here.

Post your build.settings?
 

What version of Corona are you using?
 

What version of Java JDK do you have installed?

What platform are you trying to build on?

Rob

Are you using the Tenjin plugin? Comment it out and see if it will build. 

Yes tenjin seems to be the problem. I was able to build after removing tenjin from build.settings. The problem is only with 64 bit builds. 

It appears to be a problem with one of the latest Tenjin updates. It was working fine with version 1.8.7 a few weeks back. I ended up using a native build with the latest version 1.9.3 and I seem to be ok. Hopefully Tenjin or Corona will fix it this so I can go back to simulator builds.

Hi, I confirm that builds using tenjin plugin are failling. I really need to update my app, when do you think this will this be fixed?

Error message:

14:14:37.332  Execution failed for task ‘:App:packageReleaseBundle’.

14:14:37.332  > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade

14:14:37.332     > File ‘root/res/drawable-xxhdpi-v4/ic_maps_indicator_current_position_anim1.png’ uses reserved file or directory name ‘res’.

Sorry for the hiccup. This should be fixed now.

@vlads

I get the same error:

FAILURE: Build failed with an exception. \* What went wrong: Execution failed for task ':App:packageReleaseBundle'. \> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade    \> File 'root/res/drawable-xxhdpi-v4/ic\_maps\_indicator\_current\_position\_anim1.png' uses reserved file or directory name 'res'.

when trying to build an app in the simulator with an android plugin (hosted) i did in android studio.

I can build the app with the plugin in android studio, but it fails in the corona simulator.

Any idea why?

Thanks

I just tried, it builds fine with 3565. Give it another try.

EDIT: If using android studio, you have to re-download the plugin.

Sorry I guess I didn’t describe my problem clear enough.

I am not using the tenjin plugin.

I created my own native plugin in android studio. It is just a very basic plugin and it builds fine in android studio.

I have the self-hosted plugin plan. So I built the plugin and put it on my server.

When I build an app with the plugin in the Corona Simulator I get the exact same error as the one people in this thread are seeing when building with the tenjin plugin. I am using 3565.

Any idea why?

 

Thanks

Oh. Right. So previous native template included Corona.aar into the plugin jar. Please, migrate your plugin to latest template and rebuild it. You probably would just need to replace 3 build.gradle.kts files.

I migrated to latest template and it works.

Thanks vlads