title: Unity Admob and Google Play Game Services integration
body: <p>I tried to integrate admob and Google Play Game Services in my game, but I have got a problem. I cannot build the game. Error in console:</p>
  
  <pre><code>Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
  D:\android-studio\sdk\build-tools\android-4.4W\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "D:/android-studio/sdk/platforms/android-20\android.jar" -F bin/resources.ap_ --extra-packages com.google.android.gms -S "C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res"
  
  stderr[
  res\values\maps_attrs.xml:5: error: Attribute "mapType" has already been defined
  res\values\maps_attrs.xml:12: error: Attribute "cameraBearing" has already been defined
  res\values\maps_attrs.xml:13: error: Attribute "cameraTargetLat" has already been defined
  res\values\maps_attrs.xml:14: error: Attribute "cameraTargetLng" has already been defined
  res\values\maps_attrs.xml:15: error: Attribute "cameraTilt" has already been defined
  res\values\maps_attrs.xml:16: error: Attribute "cameraZoom" has already been defined
  res\values\maps_attrs.xml:17: error: Attribute "uiCompass" has already been defined
  res\values\maps_attrs.xml:18: error: Attribute "uiRotateGestures" has already been defined
  res\values\maps_attrs.xml:19: error: Attribute "uiScrollGestures" has already been defined
  res\values\maps_attrs.xml:20: error: Attribute "uiTiltGestures" has already been defined
  res\values\maps_attrs.xml:21: error: Attribute "uiZoomControls" has already been defined
  res\values\maps_attrs.xml:22: error: Attribute "uiZoomGestures" has already been defined
  res\values\maps_attrs.xml:23: error: Attribute "useViewLifecycle" has already been defined
  res\values\maps_attrs.xml:24: error: Attribute "zOrderOnTop" has already been defined
  ]
  stdout[
  Configurations:
   (default)
   hdpi
   mdpi
   xhdpi
   xxhdpi
   af
   am
   ar
   be
   bg
   ca
   cs
   da
   de
   el
   en-GB
   en-IN
   es
   es-US
   et-EE
   fa
   fi
   fr
   fr-CA
   hi
   hr
   hu
   hy-AM
   in
   it
   iw
   ja
   ka-GE
   km-KH
   ko
   lo-LA
   lt
   lv
   mn-MN
   ms-MY
   nb
   nl
   pl
   pt
   pt-BR
   pt-PT
   ro
   ru
   sk
   sl
   sr
   sv
   sw
   th
   tl
   tr
   uk
   vi
   zh-CN
   zh-HK
   zh-TW
   zu
  
  Files:
    color\common_signin_btn_text_dark.xml
      Src: () C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\color\common_signin_btn_text_dark.xml
    color\common_signin_btn_text_light.xml
      Src: () C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\color\common_signin_btn_text_light.xml
    color\wallet_primary_text_holo_light.xml
      Src: () C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\color\wallet_primary_text_holo_light.xml
    color\wallet_secondary_text_holo_dark.xml
      Src: () C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\color\wallet_secondary_text_holo_dark.xml
    drawable\common_signin_btn_icon_dark.xml
      Src: () C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable\common_signin_btn_icon_dark.xml
    drawable\common_signin_btn_icon_disabled_dark.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_disabled_dark.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_icon_disabled_dark.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_icon_disabled_dark.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_icon_disabled_dark.9.png
    drawable\common_signin_btn_icon_disabled_focus_dark.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_disabled_focus_dark.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_icon_disabled_focus_dark.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_icon_disabled_focus_dark.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_icon_disabled_focus_dark.9.png
    drawable\common_signin_btn_icon_disabled_focus_light.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_disabled_focus_light.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_icon_disabled_focus_light.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_icon_disabled_focus_light.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_icon_disabled_focus_light.9.png
    drawable\common_signin_btn_icon_disabled_light.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_disabled_light.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_icon_disabled_light.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_icon_disabled_light.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_icon_disabled_light.9.png
    drawable\common_signin_btn_icon_focus_dark.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_focus_dark.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_icon_focus_dark.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_icon_focus_dark.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_icon_focus_dark.9.png
    drawable\common_signin_btn_icon_focus_light.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_focus_light.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_icon_focus_light.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_icon_focus_light.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_icon_focus_light.9.png
    drawable\common_signin_btn_icon_light.xml
      Src: () C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable\common_signin_btn_icon_light.xml
    drawable\common_signin_btn_icon_normal_dark.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_normal_dark.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_icon_normal_dark.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_icon_normal_dark.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_icon_normal_dark.9.png
    drawable\common_signin_btn_icon_normal_light.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_normal_light.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_icon_normal_light.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_icon_normal_light.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_icon_normal_light.9.png
    drawable\common_signin_btn_icon_pressed_dark.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_pressed_dark.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_icon_pressed_dark.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_icon_pressed_dark.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_icon_pressed_dark.9.png
    drawable\common_signin_btn_icon_pressed_light.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_pressed_light.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_icon_pressed_light.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_icon_pressed_light.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_icon_pressed_light.9.png
    drawable\common_signin_btn_text_dark.xml
      Src: () C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable\common_signin_btn_text_dark.xml
    drawable\common_signin_btn_text_disabled_dark.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_text_disabled_dark.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_text_disabled_dark.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_text_disabled_dark.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_text_disabled_dark.9.png
    drawable\common_signin_btn_text_disabled_focus_dark.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_text_disabled_focus_dark.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_text_disabled_focus_dark.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_text_disabled_focus_dark.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_text_disabled_focus_dark.9.png
    drawable\common_signin_btn_text_disabled_focus_light.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_text_disabled_focus_light.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_text_disabled_focus_light.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_text_disabled_focus_light.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_text_disabled_focus_light.9.png
    drawable\common_signin_btn_text_disabled_light.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_text_disabled_light.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_text_disabled_light.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_text_disabled_light.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_text_disabled_light.9.png
    drawable\common_signin_btn_text_focus_dark.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_text_focus_dark.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_text_focus_dark.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_text_focus_dark.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_text_focus_dark.9.png
    drawable\common_signin_btn_text_focus_light.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_text_focus_light.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_signin_btn_text_focus_light.9.png
      Src: (xhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\common_signin_btn_text_focus_light.9.png
      Src: (xxhdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\common_signin_btn_text_focus_light.9.png
    drawable\common_signin_btn_text_light.xml
      Src: () C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable\common_signin_btn_text_light.xml
    drawable\common_signin_btn_text_normal_dark.9.png
      Src: (hdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png
      Src: (mdpi) C:\Users\bilek993\Documents\ReklamyTest\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\common_sig
  </code></pre>
  
  <p>I used <a href="https://github.com/nabrozidhs/unity_admob_android" rel="nofollow">this</a> plugin as ads and <a href="https://github.com/faizann/UnityGPGPlugin" rel="nofollow">this</a> as game services. Thanks in advance.</p>