Unity3D Compile Error: Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details

i got a problem to build my android APK.

I’ve saw some question with the same error, but everything is about Google Play Services.

In my case i have the same error but with my own Plugin. The error i’ts from the Android Manifest.xml, and i need know how i can resolve it.

In some forums i’d see the solutions like; Update the building tools (i’m do it) and add some lines to the AndroidManifest.xml…but these lines, are to Google Play Service…i must rewrite to my own Plugin.

Any idea?

I paste the error and another solutions for reference;


Just remove that
line of code from Manifest and it will work .