- Home /
CommandInvokationFailure: Failed to re-package resources
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details. E:\softwares\android-sdk\build-tools\21.1.2\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "E:/softwares/android-sdk/platforms/android-21\android.jar" -F bin/resources.ap_ --extra-packages com.facebook.android:com.google.unity -S "C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res"
stderr[ C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable\com_facebook_button_like_background.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-hdpi\com_facebook_button_like_background.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-xhdpi\com_facebook_button_like_background.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-xxhdpi\com_facebook_button_like_background.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable\com_facebook_button_like_background_selected.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-hdpi\com_facebook_button_like_background_selected.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-xhdpi\com_facebook_button_like_background_selected.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-xxhdpi\com_facebook_button_like_background_selected.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable\com_facebook_button_like_icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-hdpi\com_facebook_button_like_icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-xhdpi\com_facebook_button_like_icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edCi:t\eUds ers\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-xxhdpi\com_facebook_button_like_icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable\com_facebook_button_like_icon_selected.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-hdpi\com_facebook_button_like_icon_selected.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-xhdpi\com_facebook_button_like_icon_selected.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-xxhdpi\com_facebook_button_like_icon_selected.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable\com_facebook_clCo:s\eU.spenrgs:\ GlAiUbRpAnVg\ Dwoacrunmienngt:s \UinCiCtPy:P rNoojte crtesc\oMganiinzPirnogj ekcntosw\nS osuRlGTBa pp\raomfaizloen stohualtt ahpa\sf ibsetegna meed\iTteemdp \StagingArea\android-libraries\facebook\res\drawable-ldpi\com_facebook_close.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-hdpi\com_facebook_close.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited C:\Users\GAURAV\Documents\UnityProjects\MainProjects\SoulTap\amazonsoultap\fistgame\Temp\StagingArea\android-libraries\facebook\res\drawable-xhdpi\com_facebook_close.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited AndroidManifest.xml:5: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').
]
Answer by mpaolino · Oct 23, 2015 at 08:14 PM
The build process is not finding the google play services library. Copy the google-play-services_lib
folder to Assets/Plugins/Android
and try again.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Can't build my android project 1 Answer
Having a very strange issue with probuilder 0 Answers
Game is running in unity but it is not running in pc or mobile phone. 0 Answers
How to fail build in Unity 2017.4? 0 Answers