Can't build project because of Google Play Services

Help me please. I updated some packages from android SDK and push button “resolve client Jars” in Unity editor. When i am building project, it gives me error but i can’t figure out what is problem. I read that it can be because of Manifest, but i re-imported google admob package and problem still alive.

This is problem info in console:

Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\Max\AppData\Local\Android\sdk\build-tools\23.0.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S “res” -I “C:/Users/Max/AppData/Local/Android/sdk\platforms\android-23\android.jar” -F bin/resources.ap_ --extra-packages android.support.v7.appcompat:com.google.firebase:com.google.unity:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.tasks:android.support.v4:com.unity3d.ads.android -S “D:\Загрузки\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res” -S “D:\Загрузки\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\firebase-common-9.0.0\res” -S “D:\Загрузки\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\play-services-ads-9.0.0\res” -S “D:\Загрузки\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\play-services-ads-lite-9.0.0\res” -S “D:\Загрузки\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\play-services-base-9.0.0\res” -S “D:\Загрузки\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\play-services-basement-9.0.0\res” -S “D:\Загрузки\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\play-services-tasks-9.0.0\res” -S “D:\Загрузки\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\support-v4-23.1.1\res” -S “D:\Загрузки\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\unityads-release\res”

stderr[
D:\��������\3D and unity\Unity\Soberatel\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 <android.support.v7.widget.ButtonBarLayout>
D:\��������\3D and unity\Unity\Soberatel\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.InFoS.Gribi:layout/abc_alert_dialog_button_bar_material for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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 <android.support.v7.widget.DialogTitle>
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/abc_alert_dialog_material for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/abc_dialog_title_material for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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 <android.support.v7.widget.ActionBarContainer>
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.InFoS.Gribi:layout/abc_screen_toolbar for configuration v21.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/abc_search_view for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/notification_template_big_media for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/notification_template_big_media_narrow for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/notification_template_lines for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/notification_template_media for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/notification_template_part_chronometer for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/notification_template_part_time for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_multichoice_material.xml: note: using v13 attributes; synthesizing resource com.InFoS.Gribi:layout/select_dialog_multichoice_material for configuration v13.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_singlechoice_material.xml: note: using v13 attributes; synthesizing resource com.InFoS.Gribi:layout/select_dialog_singlechoice_material for configuration v13.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_audio_toggle.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/unityads_button_audio_toggle for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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
D:\��������\3D and unity\Unity\Soberatel\Temp\StagingArea\android-libraries\unityads-release\res\layout\unityads_button_pause.xml: note: using v17 attributes; synthesizing resource com.InFoS.Gribi:layout/unityads_button_pause for configuration v17.
D:\��������\3D and unity\Unity\Soberatel\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 <inclu

This is not the complete error message. Please see my reply on this thread on how to get the full error message. Please post it here.

There is too big text in the log. I cuted out part what as i think my error. At the end of it i saw that some invalid character ‘$’ occured. Mb it’s problem? Where can i find it? Or reason is different?

2654584–187104–err.txt (22.3 KB)

See this other thread, it looks like it may be the same issue: Has anyone been able to solve the Android Manifests bug? - Unity Engine - Unity Discussions

It looks like the same, but don’t help. I removed support 4v.arr file but it didn’t help. Mb i didn’t understood what i must to do?

Were you able to work this out ?