- Home /
Question by
carlos15695 · Oct 09, 2015 at 09:53 AM ·
android buildfacebooksdkunity 5.2
Failed to re-package resources (integrating Facebook SDK 7.0.1)
Hi! Im trying to integrate Facebook to Parse and both to Unity to create my app, but there is a problem when I'm setting Facebook.
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\carlo_000\AppData\Local\Android\sdk\build-tools\23.0.1\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/carlo_000/AppData/Local/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages com.facebook:com.facebook.android -S "C:\Users\carlo_000\Desktop\Topscore\Unity\Snake II\Temp\StagingArea\android-libraries\facebook-android-sdk-4.6.0\res" -S "C:\Users\carlo_000\Desktop\Topscore\Unity\Snake II\Temp\StagingArea\android-libraries\facebook-android-wrapper-release\res"
stderr[
AndroidManifest.xml:23: Tag <provider> attribute authorities has invalid character ' '.
]
stdout[
Configurations:
(default)
Files:
AndroidManifest.xml
Src: () AndroidManifest.xml
Now I can play the game in the editor, but this error don't alow me to build the project. Thank you in advance.
Comment
Answer by m_zap · Oct 19, 2015 at 12:15 PM
Hi in Facebook->Edit Settings yout App Id got space at the end :)
I feel really stupid now. So space counts... wth!! People, when a lady like unity asks for some space... let it.
Your answer
Follow this Question
Related Questions
UnityでfacebookSDKの導入について 0 Answers
failed to re-package resources after importing facebook-unity-sdk-7.6.0 0 Answers
android apk build but does not work on device 0 Answers
Unity Won't Build Android 0 Answers
Problem Geting friends Facebook Sdk 0 Answers