. Advertisement .
..3..
. Advertisement .
..4..
The error
Failed to re-package resources.
occurred when I generate Android build in Unity console. I’ve tried to fix it for some days but have not resolved it yet. Can someone suggest a relevant solution to fix the commandinvokationfailure: failed to re-package resources. issue? Much appreciate your support.
The cause: It appears that the Android SDK build tools, version “24.0.0-preview,” do not operate well with Unity.
Solution: You can solve this error by these steps below:
In the Build Settings window, change “Build System” to ‘Gradle”.