- Home /
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
Hi I am using google play games services, soomla for iaps, admob in the game and I get the following error while building the game. I am using Unity version 5.1, admob 2.3.1 (Latest till date). Please suggest me a solution.
ERROR MESSAGE :
CommandInvokationFailure: Failed to re-package resources. See the Console for details. /Users/daphnislabs-2/Library/Android/sdk/build-tools/23.0.2/aapt package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "/Users/daphnislabs-2/Library/Android/sdk/platforms/android-23/android.jar" -F bin/resources.ap_ --extra-packages com.google.unity:com.google.example.games.mainlibproj:com.soomla.SoomlaApp:android.support.v7.appcompat:com.google.android.gms:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.nearby:com.google.android.gms.plus:android.support.v4:com.unity3d.ads.android -S "/Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res" -S "/Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/google-play-services_lib/res" -S "/Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/play-services-base-8.3.0/res" -S "/Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/play-services-basement-8.3.0/res" -S "/Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/play-services-drive-8.3.0/res" -S "/Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/play-services-games-8.3.0/res" -S "/Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/play-services-nearby-8.3.0/res" -S "/Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/play-services-plus-8.3.0/res" -S "/Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/support-v4-23.1.1/res" -S "/Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res"
stderr[ /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/abc_alert_dialog_button_bar_material for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_alert_dialog_material.xml:48: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/abc_alert_dialog_material for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/abc_dialog_title_material for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.avans.pawforce:layout/abc_screen_toolbar for configuration v21. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_search_view.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/abc_search_view for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/notification_template_big_media for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/notification_template_big_media_narrow for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml:77: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml:96: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml:64: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/notification_template_lines for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_media.xml:43: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_media.xml:33: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_media.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/notification_template_media for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_part_chronometer.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/notification_template_part_chronometer for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_part_time.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/notification_template_part_time for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:drawableStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_multichoice_material.xml: note: using v13 attributes; synthesizing resource com.avans.pawforce:layout/select_dialog_multichoice_material for configuration v13. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:drawableStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_singlechoice_material.xml: note: using v13 attributes; synthesizing resource com.avans.pawforce:layout/select_dialog_singlechoice_material for configuration v13. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_audio_toggle.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_audio_toggle.xml:61: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_audio_toggle.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_audio_toggle.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_audio_toggle.xml:52: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_audio_toggle.xml:44: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_audio_toggle.xml:19: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_audio_toggle.xml:10: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_audio_toggle.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/unityads_button_audio_toggle for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_pause.xml:8: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_button_pause.xml: note: using v17 attributes; synthesizing resource com.avans.pawforce:layout/unityads_button_pause for configuration v17. /Users/daphnislabs-2/unity projects/dogclimb (Android)/Temp/StagingArea/android-libraries/unityads/res/layout/unityads_view_video_play.xml:92: note: removing attribut