Build Error from Android Manifest
After following the instructions from the Tapjoy manual, and installing the unity package, I get this error when trying to build. I have treid several solutions, all with an equal lack of success. This is 100% Greek to me. So please answer with that knowledge in mind.
CommandInvokationFailure: Failed to re-package resources. C:\Android\sdk1\build-tools\24.0.2\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Android/sdk1\platforms\android-24\android.jar" -F bin/resources.ap_ --extra-packages com.unity.purchasing.amazon:android.support.v7.appcompat:com.unity.purchasing:com.google.android.gms:com.android.vending.billing:com.unity.purchasing.googleplay:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.clearcut:com.google.android.gmscore.integ.client.gass:com.google.android.gms.tasks:android.support.v4:com.unity3d.ads.android -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\AmazonAppStore\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\common\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\google-play-services_lib\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\GooglePlay\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\play-services-ads-9.6.0\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\play-services-ads-lite-9.6.0\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\play-services-base-9.6.0\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\play-services-basement-9.6.0\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\play-services-clearcut-9.6.0\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\play-services-gass-9.6.0\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\play-services-tasks-9.6.0\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\support-v4-24.0.0\res" -S "C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res"
stderr[ C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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.Archelyte.NinjaSurf:layout/abc_alert_dialog_button_bar_material for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/abc_alert_dialog_material for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/abc_dialog_title_material for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/abc_screen_toolbar for configuration v21. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/abc_search_view for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/notification_template_big_media for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/notification_template_big_media_narrow for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/notification_template_lines for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/notification_template_media for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/notification_template_part_chronometer for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/notification_template_part_time for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_multichoice_material.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/select_dialog_multichoice_material for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\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 C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_singlechoice_material.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/select_dialog_singlechoice_material for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:61: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:52: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:44: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:19: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml:10: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/unityads_button_audio_toggle for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_pause.xml:8: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_pause.xml: note: using v17 attributes; synthesizing resource com.Archelyte.NinjaSurf:layout/unityads_button_pause for configuration v17. C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml:92: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml:57: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from C:\Users\Trey Van Zandt\Desktop\NS - Tapjoy\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_view_video_play.xml:57: note: removing attribute http://schemas.android
error message is not complete, so it's hard to understand what's going on. you can contact me privately and i can assist you: https://goo.gl/qHOa2G
Your answer
Follow this Question
Related Questions
Android Unable to merge manifest Error 2 Answers
help with build error 0 Answers
Unable to build Android game, build error 1 Answer
Build error for gear vr app involving manifest 4 Answers
Unity 5.6.2.1f Android Build Error 0 Answers