- Home /
failed to re package resources facebook sdk
I've used facebook sdk in my unity project and while building the apk I get this error CommandInvokationFailure: Failed to re-package resources. See the Console for details. C:\Android\sdk\build-tools\23.0.2\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.cardview:com.facebook:com.facebook:com.facebook.android:com.facebook.android:android.support.v4:com.whileLOO.drawningbuny -S
Need some help to fix this
I wrote facebook id, but again the same problem.. I have this problem too .. but there is no solution anywhere :(
can anyone share the solution if they know it?
Answer by roboash · Apr 02, 2017 at 10:08 AM
Check for space at the end of your app key in Facebook-> edit settings -> App ID. or a faulty app-id.
This is a very annoying issue that could've been fixed on Facebook's end. I've already submitted a fix via a pull request some time ago, no comment yet: https://github.com/facebook/facebook-sdk-for-unity/pull/56
$$anonymous$$aybe you can upvote it in some way.
Answer by asder31 · Jun 30, 2018 at 08:53 PM
roboash, prabushitha
I could not solve the problem this way.. Is there a different solution..
Your answer
![](https://koobas.hobune.stream/wayback/20220612074802im_/https://answers.unity.com/themes/thub/images/avi.jpg)