Unity3d - Failed To Re-package Resources | Android Apk
I'm trying to compile a simple game without any additional plugin, but I am facing the errors below: CommandInvokationFailure: Failed to re-package resources. See the Console for d
Solution 1:
It could be the spaces in the Android SDK and NDK path. Unity's update logs always says that this problem is fixed but that is not true. It fails sometimes.
Make sure that there are no spaces in your SDK and NDK path. So create a folder called
AndroidSDK
andAndroidNDK
in the C directory.Copy your
Android-sdk
folder to theC:/AndroidSDK
directory. Copy yourAndroid-ndk
to theC:/AndroidNDK folder
.
Now, your SDK path should look like this:
C:/AndroidSDK/Android-sdk
C:/AndroidNDK/Android-ndk
No spaces more.
- Update your Android SDK and NDK paths in the Unity Editor.
If that fails, download Unity 5.4 beta.
EDIT:
Re-download SDK. Then Build the Project for Android, it will show an error and ask you to update SDK. click on the "Update Android SDK" buttom. Unity will Automatically update your SDK. Your SDK should then look like something below.
Post a Comment for "Unity3d - Failed To Re-package Resources | Android Apk"