Google Play services and Admob issue
I import playservices and admob pakeg in unity and when i try to build apk for android it gives an error which is
CommandInvokationFailure: Failed to re-package resources. See the Console for details. C:\Users\Khalil\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/Khalil/AppData/Local/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.appcompat:com.google.example.games.mainlibproj:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms.base:com.google.android.gms:com.google.android.gms:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.v4:android.support.v4 -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-ads-9.4.0\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-ads-lite-9.4.0\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-auth-9.6.1\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-auth-base-9.6.1\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-base-9.4.0\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-base-9.6.1\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-basement-9.4.0\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-basement-9.6.1\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-drive-9.6.1\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-games-9.6.1\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-nearby-9.6.1\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-tasks-9.6.1\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\support-v4-23.0.0\res" -S "D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\support-v4-24.0.0\res"
stderr[ D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\abc_alert_dialog_material.xml:111: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\abc_alert_dialog_material.xml:48: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.thinkbox.jet:layout/abc_alert_dialog_material for configuration v17. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.thinkbox.jet:layout/abc_dialog_title_material for configuration v17. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.thinkbox.jet:layout/abc_screen_toolbar for configuration v21. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.thinkbox.jet:layout/abc_search_view for configuration v17. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.thinkbox.jet:layout/notification_template_big_media for configuration v17. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.thinkbox.jet:layout/notification_template_big_media_narrow for configuration v17. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_lines.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_lines.xml:77: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_lines.xml:96: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_lines.xml:64: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_lines.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.thinkbox.jet:layout/notification_template_lines for configuration v17. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_media.xml:43: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_media.xml:33: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource com.thinkbox.jet:layout/notification_template_media for configuration v17. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_part_chronometer.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.thinkbox.jet:layout/notification_template_part_chronometer for configuration v17. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_part_time.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.thinkbox.jet:layout/notification_template_part_time for configuration v17. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\drawable\abc_textfield_search_material.xml:19: note: removing attribute http://schemas.android.com/apk/res/android:state_activated from D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\appcompat-v7-23.0.0\res\drawable\abc_textfield_search_material.xml: note: using v11 attributes; synthesizing resource com.thinkbox.jet:drawable/abc_textfield_search_material for configuration v11. D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-basement-9.4.0\res\values\values.xml:3: error: Attribute "imageAspectRatioAdjust" has already been defined
D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-basement-9.4.0\res\values\values.xml:3: error: Attribute "imageAspectRatio" has already been defined
D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-basement-9.4.0\res\values\values.xml:3: error: Attribute "circleCrop" has already been defined
D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-base-9.4.0\res\values\values.xml:21: error: Attribute "buttonSize" has already been defined
D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-base-9.4.0\res\values\values.xml:21: error: Attribute "colorScheme" has already been defined
D:\TNS\Unity\playservicesWithdmob\Temp\StagingArea\android-libraries\play-services-base-9.4.0\res\values\values.xml:21: error: Attribute "scopeUris" has already been defined
[1]: /storage/temp/82389-screenshot-14.png