I'm getting the following error when I build my APK:
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:UsersMeAppDataLocalAndroidsdkuild-tools24.0.0aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Me/AppData/Local/Android/sdkplatformsandroid-24android.jar" -F bin/resources.ap_ --extra-packages
I wish to integrate "Leaderboards" in my app using Google Play Services. What should I do to fix this?
What I've tried:
- Reinstalling the Google Play Services plugin.
- Updating SDK: See here. (tell me if I did it properly).
- Made sure I have latest versions of "Extras/Android Support Repository" and "Extras/Google Repository".
- Installed everything in SDK Manager. See here.
- Updating Unity.
- Restarting.
- Few minor changes.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…