2

I'm using UNITY 5.4.1 and Unity Facebook SDK 7.9.4, but however, unable to build APK.

ERROR: Command Invocation failure: failed to repackage resources.
CommandInvokationFailure: Failed to re-package resources.
/Users/pb036local/Desktop/build-tools/25.0.2/aapt package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "/Users/pb036local/Desktop/platforms/android-25/android.jar" -F bin/resources.ap_ --extra-packages android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.v7.cardview:android.support.customtabs:com.facebook:com.facebook.android:android.support.v4:android.support.graphics.drawable -S "
4

1 回答 1

0

在 Facebook->edit settings -> App ID 中检查您的 App-ID 中是否存在可能的错误。在我的情况下,它是 appID 末尾的一个空格,导致了同样的问题。错误的应用程序密钥

于 2017-04-01T19:49:24.333 回答