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.
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.
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.
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.
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.