Failed to re-packages resources. (It's started happened after i imported facebook 7.9.0 sdk) Unity 5.5
Hello! I have and error when trying to build Android project on unity. It's started happened when i imported facebook 7.9.0 sdk for unity. I checked for spacings in app id and for repeated files, but it's still shown
CommandInvokationFailure: Failed to re-package resources.
/Users/Dudeinascarf/Library/Android/sdk/build-tools/25.0.2/aapt package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "/Users/Dudeinascarf/Library/Android/sdk/platforms/android-23/android.jar" -F bin/resources.ap_ --extra-packages com.chartboost.sdk.unity:com.google.unity:com.oculus.Integration:com.unity3d.plugin.downloader:android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.v7.appcompat:android.support.v7.cardview:android.support.customtabs:com.facebook:com.facebook.android:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.clearcut:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.gass:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.v4:android.support.v4:android.support.graphics.drawable:com.unity3d.ads:com.unity3d.ads.android -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/OVRPlugin/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/UnityOBBDownloader/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/animated-vector-drawable-23.4.0/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/appcompat-v7-23.4.0/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/cardview-v7-23.4.0/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/customtabs-23.4.0/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/facebook-android-sdk-4.17.0/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/facebook-android-wrapper-7.9.0/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-ads-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-ads-lite-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-auth-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-auth-base-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-base-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-basement-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-clearcut-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-drive-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-games-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-gass-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-nearby-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/play-services-tasks-10.0.1/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/support-v4-23.4.0/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/support-v4-24.0.0/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/support-vector-drawable-23.4.0/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/unity-ads/res" -S "/Users/Dudeinascarf/Desktop/Freelance/UpWork/AddMonetizations/Sources/Hermagedon (FREE)/Temp/StagingArea/android-libraries/unityads/res"
Thank you.
This is not the complete error message. These errors are usually pretty long, so you have to scroll a bit further down to see the actual error. Unity may also truncate the message if it's too long, so you'd have to manually open the Editor.log file to see what caused this.
For more information about this particular issue, see this other thread: http://answers.unity3d.com/questions/1300741/commandinvokationfailure-failed-to-re-package-reso-35.html#answer-1301211
Answer by frantxesco · Jan 18, 2017 at 04:54 PM
Hey @DudeInaScarf did you manage to solve this issue?