Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for

1,358 views
Skip to first unread message

Hưng Nguyễn

unread,
Jun 18, 2016, 3:40:18 PM6/18/16
to Google Mobile Ads SDK Developers
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
E:\Phan Mem\Code\Android\android-sdk-windows\build-tools\24.0.0\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "E:/Phan Mem/Code/Android/android-sdk-windows\platforms\android-24\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.cardview:com.facebook:com.facebook.android:com.google.unity:android.support.v4 -S "E:\Document\Project\Git\TimSo\Temp\StagingArea\android-libraries\cardview-v7-23.4.0\res" -S "E:\Document\Project\Git\TimSo\Temp\StagingArea\android-libraries\facebook-android-sdk-4.12.1\res" -S "E:\Document\Project\Git\TimSo\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.6.0\res" -S "E:\Document\Project\Git\TimSo\Temp\StagingArea\android-libraries\support-v4-23.4.0\res"

stderr[

]
stdout[

]

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jun 20, 2016, 11:37:14 AM6/20/16
to Google Mobile Ads SDK Developers
Hi Hưng,

It looks like your Manifests are not getting merged properly. This might be due to several reasons so I want you to make a new project and import our latest v 3.0.4 Mobile Ads Unity plugin to try again. Make sure that you are able to build on this first before you integrate FANs SDK. Also make sure that you have updated the following frameworks - 
  • Google Play Services
  • Google Repository
  • Android Build Tools
  • Android Support Repository
  • Android Support Library
Let us know if you need anything else. You can also try to right click on Assets > PlayServicesResolver folder and select Google Play Services > Resolve Client Jars to fix any dependency import issues.

Thanks,
Veer Busani
Mobile Ads SDK Team

Liju Thomas

unread,
Jul 27, 2016, 8:04:36 AM7/27/16
to Google Mobile Ads SDK Developers

Thank you Veer
Reply all
Reply to author
Forward
0 new messages