Failed to re-package resources.
Please help me.
CommandInvokationFailure: Failed to re-package resources.
/Users/CJ/Documents/Android/sdk/build-tools/25.0.2/aapt package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "/Users/CJ/Documents/Android/sdk/platforms/android-22/android.jar" -F bin/resources.ap_
stderr[
AndroidManifest.xml:2: error: Error parsing XML: reference to invalid character number
]
stdout[
Configurations:
(default)
v14
v21
ldpi-v4
mdpi-v4
hdpi-v4
xhdpi-v4
xxhdpi-v4
xxxhdpi-v4
Files:
drawable/app_banner.png
Src: (xhdpi-v4) res/drawable-xhdpi/app_banner.png
drawable/app_icon.png
Src: (ldpi-v4) res/drawable-ldpi/app_icon.png
Src: (mdpi-v4) res/drawable-mdpi/app_icon.png
Src: (hdpi-v4) res/drawable-hdpi/app_icon.png
Src: (xhdpi-v4) res/drawable-xhdpi/app_icon.png
Src: (xxhdpi-v4) res/drawable-xxhdpi/app_icon.png
Src: (xxxhdpi-v4) res/drawable-xxxhdpi/app_icon.png
values/strings.xml
Src: () res/values/strings.xml
values/styles.xml
Src: () res/values/styles.xml
Src: (v14) res/values-v14/styles.xml
Src: (v21) res/values-v21/styles.xml
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Type drawable
drawable/app_banner.png
Src: (xhdpi-v4) res/drawable-xhdpi/app_banner.png
drawable/app_icon.png
Src: (ldpi-v4) res/drawable-ldpi/app_icon.png
Src: (mdpi-v4) res/drawable-mdpi/app_icon.png
Src: (hdpi-v4) res/drawable-hdpi/app_icon.png
Src: (xhdpi-v4) res/drawable-xhdpi/app_icon.png
Src: (xxhdpi-v4) res/drawable-xxhdpi/app_icon.png
Src: (xxxhdpi-v4) res/drawable-xxxhdpi/app_icon.png
Type values
values/strings.xml
Src: () res/values/strings.xml
values/styles.xml
Src: () res/values/styles.xml
Src: (v14) res/values-v14/styles.xml
Src: (v21) res/values-v21/styles.xml
]
exit code: 1
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg, Int32 retriesOnFailure)
UnityEditor.HostView:OnGUI()
Comment
can you post your Android$$anonymous$$anifest.xml please ?