Search Unity

I can not build the game with ADMOB and UNITYADS

Discussion in 'Unity Ads & User Acquisition' started by ozgurhazar, Apr 17, 2015.

  1. ozgurhazar

    ozgurhazar

    Joined:
    Aug 30, 2014
    Posts:
    19
    Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
    E:\sdk\adt-bundle-windows-x86_64-20140702\sdk\build-tools\21.1.1\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "E:/sdk/adt-bundle-windows-x86_64-20140702/sdk/platforms/android-21\android.jar" -F bin/resources.ap_ --extra-packages com.google.unity:com.unity3d.ads.android -S "D:\RacerKing\RacerKing\Temp\StagingArea\android-libraries\unityads\res"

    stderr[
    AndroidManifest.xml:17: error: Error: No resource found that matches the given name (at 'value' with value '@Integer/google_play_services_version').

    ]
    stdout[
    Configurations:
    (default)

    Files:
    values\strings.xml
    Src: () D:\RacerKing\RacerKing\Temp\StagingArea\android-libraries\unityads\res\values\strings.xml
    AndroidManifest.xml
    Src: () AndroidManifest.xml

    Resource Dirs:
    Type drawable
    Type layout
    Type values
    values\strings.xml
    Src: () D:\RacerKing\RacerKing\Temp\StagingArea\android-libraries\unityads\res\values\strings.xml
    Including resources from package: E:\sdk\adt-bundle-windows-x86_64-20140702\sdk\platforms\android-21\android.jar
    applyFileOverlay for drawable
    trying overlaySet Key=app_icon.png
    applyFileOverlay for layout
    applyFileOverlay for anim
    applyFileOverlay for animator
    applyFileOverlay for interpolator
    applyFileOverlay for transition
    applyFileOverlay for xml
    applyFileOverlay for raw
    applyFileOverlay for color
    applyFileOverlay for menu
    applyFileOverlay for mipmap
    Processing image: res\drawable\app_icon.png
    (processed image res\drawable\app_icon.png: 94% size of source)
    (new resource id app_icon from drawable\app_icon.png #generated)
    ]