Updated instructions for installing Google Play Services?

7,474 views
Skip to first unread message

Andy McFadden

unread,
May 25, 2016, 9:15:39 PM5/25/16
to Google Mobile Ads SDK Developers
If you go to


and look at "ECLIPSE WITH ADT" or "OTHER", it says:

  "Copy the library project at <android-sdk>/extras/google/google_play_services/libproject/google-play-services_lib/ to the location where you maintain your Android app projects."

However, as noted on http://stackoverflow.com/questions/37310684/, that directory no longer exists in Google Play Services v30.

The answer that currently has the most votes recommends renaming and dissecting some other files, while another answer recommends backing down to v28.  The former seems trouble-prone, and the latter isn't working for me.  (This is my first time trying to get it working, though, so it's possible I've made a mistake somewhere else, and v28 would work just fine.)

I have the latest and greatest SDK and Android Studio.  I'm trying to integrate AdMob into my Unity 5.3.4f1 project.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
May 26, 2016, 10:48:55 AM5/26/16
to Google Mobile Ads SDK Developers
Hi Andy,

We would never recommend you to rename/edit any part of the Android SDK. If you find any issues, do let us know and we would look into it. As to your Mobile Ads/Unity/Android integration, I will certainly help you. Please follow these steps if you are on Google Play Service revision 30.0 (v 9.0) -
  • Make a new project and import the Mobile Ads Unity package.
  • Copy our demo script, make a new empty GameObject and add the script as the component.
  • Right click on Assets > PlayServicesResolver folder and select Google Play Services > Resolve Client Jars.
  • There is a known issue with GMS revision 30 in Unity. To build for Android, you would need to select Assets > Plugins > Android > firebase-common-9.0.0.aar file and in the Unity Inspector, deselect Android under the Platform for Plugins sections.
  • Finally, edit the Bundle Identifier in your Player Settings and deploy your awesome project to your Android device.
Do get back to us if you need anything else.

Thanks,
Veer Busani
Mobile Ads SDK Team

Delphine Han

unread,
May 27, 2016, 12:44:08 PM5/27/16
to Google Mobile Ads SDK Developers
Hi Veer Busani,

I am new to Android app development.  I use Unity Editor for development.  Recently I updated Android SDK to Rev 30 and the Android\sdk\extras\google\google_play_services\libproject\ folder (including the google-play-services_lib folder under it) disappeared.  The google-play-services_lib folder is required when I tried to install AdMob ads through Heyzap.  

I am able to following your instructions below for step 1 & 2.  But I couldn't follow step 3 and onwards.  I am on Windows 10 PC.  

Questions I have:
3. Not sure you mean Right click in the Windows file folder or Unity Project?  Either way, I found  PlayServicesResolver folder, but don't see Google Play Services, (therefore) Resolve Client Jars
4. Don't see firebase-common-9.0.0.aar under Assets > Plugins > Android >

Could you help me?

Below are copied from your instructions for reference.
  1. Make a new project and import the Mobile Ads Unity package.
  2. Copy our demo script, make a new empty GameObject and add the script as the component.
  3. Right click on Assets > PlayServicesResolver folder and select Google Play Services > Resolve Client Jars.
  4. There is a known issue with GMS revision 30 in Unity. To build for Android, you would need to select Assets > Plugins > Android > firebase-common-9.0.0.aar file and in the Unity Inspector, deselect Android under the Platform for Plugins sections.
  5. Finally, edit the Bundle Identifier in your Player Settings and deploy your awesome project to your Android device.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
May 27, 2016, 4:24:57 PM5/27/16
to Google Mobile Ads SDK Developers
Hi Delphine,

You must be under Android development mode to get those options. Simply go to File > Build Settings, select Android and Switch Platform. You can now right click on the PlayServiceResolver folder to get those options. Once you have selected the Resolve Client Jars option, you will see the firebase-common-9.0.0.aar file under Assets > Plugins > Android.

Thanks,
Veer Busani
Mobile Ads SDK Team

Delphine Han

unread,
May 29, 2016, 12:15:01 PM5/29/16
to Google Mobile Ads SDK Developers
Hi Veer Busani,
Thank you very much for your quick response.  I was able to follow your instruction and updated my project folders (GoogleMobileAds & Plugins).

However, when I open the Android Studio on my PC (not used for my app development, but need the SDK), I get plugin error as shown below.  Should I do the suggested actions or ignore them?
1). Disable not loaded plugins
2). Enable Android Support
3). Open plugin manager


Delphine

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
May 31, 2016, 12:53:22 PM5/31/16
to Google Mobile Ads SDK Developers
Hi Delphine,

I will suggest you to open the Android SDK Manager and resolve all of the issues. It might be a case where duplicate frameworks/plugins are found. For this, your SDK Manager must be able to fix it.

Thanks,
Veer Busani
Mobile Ads SDK Team

Delphine Han

unread,
May 31, 2016, 8:02:37 PM5/31/16
to Google Mobile Ads SDK Developers
Thanks.  All looks well now.

Delphine

Huy Hoang Le

unread,
Jun 19, 2016, 6:19:31 AM6/19/16
to Google Mobile Ads SDK Developers
Hi Veer Arjun Busani,

Today I try Google Mobile Ads Unity version 3.0.4, and make Android build with IL2CPP build option and get a bunch of error like this:




Failed running D:/Android_Programming/android-ndk-r10e/toolchains/llvm-3.6/prebuilt/windows-x86_64/bin/clang++ -o "Temp/StagingArea\assets\bin\Data\Native\x86\libil2cpp.so.debug" -Wl,-soname,libil2cpp.so.debug --sysroot "D:/Android_Programming/android-ndk-r10e/platforms/android-9/arch-x86" -gcc-toolchain "D:/Android_Programming/android-ndk-r10e/toolchains/x86-4.9/prebuilt/windows-x86_64" -target i686-none-linux-android -shared -fuse-ld=gold -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_4.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Mono.Security_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Mono.Security_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_4.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_5.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_6.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_7.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System.Core_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_UnityEngine_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_UnityEngine_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\GenericMethods0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppAttributes.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCodeRegistration.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValuesTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppDelegateWrappersManagedToNativeTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGenericClassTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGenericInstDefinitions.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGenericMethodDefinitions.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGenericMethodPointerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGenericMethodTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGuids.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppInvokerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppMarshalingFunctionsTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppMetadataRegistration.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppMetadataUsage.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppMethodPointerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppPInvokerWrapperTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppTypeDefinitions.o"    -L "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Variations\il2cpp\Release/StaticLibs/x86" -lil2cpp -lbdwgc -L "D:/Android_Programming/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86" -lgnustl_static
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10621: error: undefined reference to 'GADURelease'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11065: error: undefined reference to 'GADUCreateAdLoader'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10621: error: undefined reference to 'GADURelease'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11128: error: undefined reference to 'GADUSetAdLoaderCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10621: error: undefined reference to 'GADURelease'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11104: error: undefined reference to 'GADURequestNativeAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10621: error: undefined reference to 'GADURelease'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10448: error: undefined reference to 'GADUCreateRequest'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10489: error: undefined reference to 'GADUAddKeyword'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10467: error: undefined reference to 'GADUAddTestDevice'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10513: error: undefined reference to 'GADUSetBirthday'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10535: error: undefined reference to 'GADUSetGender'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10553: error: undefined reference to 'GADUTagForChildDirectedTreatment'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10603: error: undefined reference to 'GADUSetRequestAgent'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11104: error: undefined reference to 'GADURequestNativeAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11280: error: undefined reference to 'GADUSetNativeCustomTemplateAdUnityClient'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11300: error: undefined reference to 'GADUSetNativeCustomTemplateAdCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10678: error: undefined reference to 'GADUCreateSmartBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10645: error: undefined reference to 'GADUCreateBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10678: error: undefined reference to 'GADUCreateSmartBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10645: error: undefined reference to 'GADUCreateBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10721: error: undefined reference to 'GADUSetBannerCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10789: error: undefined reference to 'GADURequestBannerAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10789: error: undefined reference to 'GADURequestBannerAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10759: error: undefined reference to 'GADUShowBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10759: error: undefined reference to 'GADUShowBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10745: error: undefined reference to 'GADUHideBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10745: error: undefined reference to 'GADUHideBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10773: error: undefined reference to 'GADURemoveBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10773: error: undefined reference to 'GADURemoveBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11280: error: undefined reference to 'GADUSetNativeCustomTemplateAdUnityClient'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11300: error: undefined reference to 'GADUSetNativeCustomTemplateAdCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11259: error: undefined reference to 'GADUNativeCustomTemplateAdAvailableAssetKeys'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11259: error: undefined reference to 'GADUNativeCustomTemplateAdAvailableAssetKeys'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11146: error: undefined reference to 'GADUNativeCustomTemplateAdTemplateID'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11146: error: undefined reference to 'GADUNativeCustomTemplateAdTemplateID'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11169: error: undefined reference to 'GADUNativeCustomTemplateAdImageAsBytesForKey'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11196: error: undefined reference to 'GADUNativeCustomTemplateAdStringForKey'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11239: error: undefined reference to 'GADUNativeCustomTemplateAdPerformClickOnAssetWithKey'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11239: error: undefined reference to 'GADUNativeCustomTemplateAdPerformClickOnAssetWithKey'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11219: error: undefined reference to 'GADUNativeCustomTemplateAdRecordImpression'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11219: error: undefined reference to 'GADUNativeCustomTemplateAdRecordImpression'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10448: error: undefined reference to 'GADUCreateRequest'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10467: error: undefined reference to 'GADUAddTestDevice'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10489: error: undefined reference to 'GADUAddKeyword'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10513: error: undefined reference to 'GADUSetBirthday'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10535: error: undefined reference to 'GADUSetGender'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10553: error: undefined reference to 'GADUTagForChildDirectedTreatment'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10577: error: undefined reference to 'GADUSetExtra'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10603: error: undefined reference to 'GADUSetRequestAgent'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10809: error: undefined reference to 'GADUCreateInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10850: error: undefined reference to 'GADUSetInterstitialCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10874: error: undefined reference to 'GADUInterstitialReady'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10889: error: undefined reference to 'GADUShowInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10905: error: undefined reference to 'GADURequestInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10921: error: undefined reference to 'GADUCreateRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10938: error: undefined reference to 'GADURewardBasedVideoAdReady'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10953: error: undefined reference to 'GADUShowRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10973: error: undefined reference to 'GADURequestRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11021: error: undefined reference to 'GADUSetRewardBasedVideoAdCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10809: error: undefined reference to 'GADUCreateInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10905: error: undefined reference to 'GADURequestInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10874: error: undefined reference to 'GADUInterstitialReady'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10889: error: undefined reference to 'GADUShowInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10921: error: undefined reference to 'GADUCreateRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10973: error: undefined reference to 'GADURequestRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10953: error: undefined reference to 'GADUShowRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10938: error: undefined reference to 'GADURewardBasedVideoAdReady'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.Android.<CompileDynamicLibrary>c__AnonStorey3:<>m__8(TargetArchCompilerSettings)
<ParallelFor>c__AnonStorey6F`1:<>m__F1(Object) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:89)



Failed running D:/Android_Programming/android-ndk-r10e/toolchains/llvm-3.6/prebuilt/windows-x86_64/bin/clang++ -o "Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so.debug" -Wl,-soname,libil2cpp.so.debug --sysroot "D:/Android_Programming/android-ndk-r10e/platforms/android-9/arch-arm" -gcc-toolchain "D:/Android_Programming/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64" -target armv7-none-linux-androideabi -shared -fuse-ld=gold -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_4.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Mono.Security_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Mono.Security_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_4.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_5.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_6.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_7.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System.Core_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_UnityEngine_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_UnityEngine_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\GenericMethods0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppAttributes.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCodeRegistration.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValuesTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppDelegateWrappersManagedToNativeTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGenericClassTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGenericInstDefinitions.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGenericMethodDefinitions.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGenericMethodPointerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGenericMethodTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGuids.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppInvokerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppMarshalingFunctionsTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppMetadataRegistration.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppMetadataUsage.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppMethodPointerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppPInvokerWrapperTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppTypeDefinitions.o"    -L "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Variations\il2cpp\Release/StaticLibs/armeabi-v7a" -lil2cpp -lbdwgc -L "D:/Android_Programming/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a" -lgnustl_static

Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10621: error: undefined reference to 'GADURelease'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11128: error: undefined reference to 'GADUSetAdLoaderCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11065: error: undefined reference to 'GADUCreateAdLoader'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10621: error: undefined reference to 'GADURelease'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11128: error: undefined reference to 'GADUSetAdLoaderCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10621: error: undefined reference to 'GADURelease'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11104: error: undefined reference to 'GADURequestNativeAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10621: error: undefined reference to 'GADURelease'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10448: error: undefined reference to 'GADUCreateRequest'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10489: error: undefined reference to 'GADUAddKeyword'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10467: error: undefined reference to 'GADUAddTestDevice'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10513: error: undefined reference to 'GADUSetBirthday'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10535: error: undefined reference to 'GADUSetGender'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10553: error: undefined reference to 'GADUTagForChildDirectedTreatment'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10603: error: undefined reference to 'GADUSetRequestAgent'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11104: error: undefined reference to 'GADURequestNativeAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11280: error: undefined reference to 'GADUSetNativeCustomTemplateAdUnityClient'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11300: error: undefined reference to 'GADUSetNativeCustomTemplateAdCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10678: error: undefined reference to 'GADUCreateSmartBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10645: error: undefined reference to 'GADUCreateBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10678: error: undefined reference to 'GADUCreateSmartBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10645: error: undefined reference to 'GADUCreateBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10721: error: undefined reference to 'GADUSetBannerCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10789: error: undefined reference to 'GADURequestBannerAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10789: error: undefined reference to 'GADURequestBannerAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10759: error: undefined reference to 'GADUShowBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10759: error: undefined reference to 'GADUShowBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10745: error: undefined reference to 'GADUHideBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10745: error: undefined reference to 'GADUHideBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10773: error: undefined reference to 'GADURemoveBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10773: error: undefined reference to 'GADURemoveBannerView'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11280: error: undefined reference to 'GADUSetNativeCustomTemplateAdUnityClient'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11300: error: undefined reference to 'GADUSetNativeCustomTemplateAdCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11259: error: undefined reference to 'GADUNativeCustomTemplateAdAvailableAssetKeys'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11259: error: undefined reference to 'GADUNativeCustomTemplateAdAvailableAssetKeys'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11146: error: undefined reference to 'GADUNativeCustomTemplateAdTemplateID'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11146: error: undefined reference to 'GADUNativeCustomTemplateAdTemplateID'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11169: error: undefined reference to 'GADUNativeCustomTemplateAdImageAsBytesForKey'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11196: error: undefined reference to 'GADUNativeCustomTemplateAdStringForKey'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11239: error: undefined reference to 'GADUNativeCustomTemplateAdPerformClickOnAssetWithKey'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11239: error: undefined reference to 'GADUNativeCustomTemplateAdPerformClickOnAssetWithKey'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11219: error: undefined reference to 'GADUNativeCustomTemplateAdRecordImpression'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11219: error: undefined reference to 'GADUNativeCustomTemplateAdRecordImpression'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10448: error: undefined reference to 'GADUCreateRequest'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10467: error: undefined reference to 'GADUAddTestDevice'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10489: error: undefined reference to 'GADUAddKeyword'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10513: error: undefined reference to 'GADUSetBirthday'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10535: error: undefined reference to 'GADUSetGender'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10553: error: undefined reference to 'GADUTagForChildDirectedTreatment'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10577: error: undefined reference to 'GADUSetExtra'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10603: error: undefined reference to 'GADUSetRequestAgent'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10809: error: undefined reference to 'GADUCreateInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10850: error: undefined reference to 'GADUSetInterstitialCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10874: error: undefined reference to 'GADUInterstitialReady'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10889: error: undefined reference to 'GADUShowInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10905: error: undefined reference to 'GADURequestInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10921: error: undefined reference to 'GADUCreateRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10938: error: undefined reference to 'GADURewardBasedVideoAdReady'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10953: error: undefined reference to 'GADUShowRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10973: error: undefined reference to 'GADURequestRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:11021: error: undefined reference to 'GADUSetRewardBasedVideoAdCallbacks'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10809: error: undefined reference to 'GADUCreateInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10905: error: undefined reference to 'GADURequestInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10874: error: undefined reference to 'GADUInterstitialReady'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10889: error: undefined reference to 'GADUShowInterstitial'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10921: error: undefined reference to 'GADUCreateRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10973: error: undefined reference to 'GADURequestRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10953: error: undefined reference to 'GADUShowRewardBasedVideoAd'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp_0.cpp:10938: error: undefined reference to 'GADURewardBasedVideoAdReady'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.Android.<CompileDynamicLibrary>c__AnonStorey3:<>m__8(TargetArchCompilerSettings)
<ParallelFor>c__AnonStorey6F`1:<>m__F1(Object) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:89)



Failed running D:/Android_Programming/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-objcopy "Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so.debug" "Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --strip-all

D:/Android_Programming/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-objcopy: 'Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so.debug': No such file
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.Android.<CompileDynamicLibrary>c__AnonStorey3:<>m__9(TargetArchCompilerSettings)
<ParallelFor>c__AnonStorey6F`1:<>m__F1(Object) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:89)



Failed running D:/Android_Programming/android-ndk-r10e/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-objcopy "Temp/StagingArea\assets\bin\Data\Native\x86\libil2cpp.so.debug" "Temp/StagingArea\assets\bin\Data\Native\x86\libil2cpp.so" --strip-all

D:/Android_Programming/android-ndk-r10e/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-objcopy: 'Temp/StagingArea\assets\bin\Data\Native\x86\libil2cpp.so.debug': No such file
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.Android.<CompileDynamicLibrary>c__AnonStorey3:<>m__9(TargetArchCompilerSettings)
<ParallelFor>c__AnonStorey6F`1:<>m__F1(Object) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:89)



Exception: IL2CPP Linkage failed
UnityEditor.Android.AndroidIl2CppClangCompiler.CompileDynamicLibrary (System.String libraryFile, IEnumerable`1 sourceFiles, IEnumerable`1 includePaths, IEnumerable`1 libraries, IEnumerable`1 libraryPaths)
UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:218)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:128)
UnityEditor.Android.PostProcessAndroidPlayer.PrepareIl2cppFiles (System.String stagingArea, System.String assetsData, UnityEditor.Android.AndroidIl2CppPlatformProvider provider, UnityEditor.RuntimeClassRegistry usedClassRegistry, Boolean developmentPlayer)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
UnityEditor.HostView:OnGUI()



Did I missed something ? Thank you for your help

Huy Hoang Le

unread,
Jun 19, 2016, 8:03:29 AM6/19/16
to Google Mobile Ads SDK Developers
I used Unity 5.3.5f1 by the way

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jun 20, 2016, 11:43:28 AM6/20/16
to Google Mobile Ads SDK Developers
Hi Huy,

IL2CPP is still in beta for the majority of the platforms including Android and iOS and currently, our Mobile Ads Plugin does not support this. But I will be raising this issue with the team. For now, I would suggest you to continue to use Mono2X as your Backend Script.

Thanks,
Veer Busani
Mobile Ads SDK Team

Adithya Suresh

unread,
Jun 30, 2016, 6:55:43 PM6/30/16
to Google Mobile Ads SDK Developers
Hi Veer,

In Update 31 for google play services there is no firebase-common-9.0.0.aar which file is it now?

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 1, 2016, 11:31:53 AM7/1/16
to Google Mobile Ads SDK Developers
Hi Adithya,

The issue has been fixed in our latest release of Mobile Ads plugin v3.0.4 for Unity. You do not have to modify any dependencies anymore. Simply import the plugin, resolve the client jars and you are good to go.

Let us know if you need anything else.


Thanks,
Veer Busani
Mobile Ads SDK Team

R.M. SUHAIL

unread,
Jul 7, 2016, 11:58:29 AM7/7/16
to Google Mobile Ads SDK Developers
Hi Veer Arjun,

When i try to resolve the client jars ,

console logs:

ResolutionException: Cannot find candidate artifact for com.android.support:support-v4:23.0.0
Google.JarResolver.PlayServicesSupport.GetDependencies (Google.JarResolver.Dependency dep)
Google.JarResolver.PlayServicesSupport.ResolveDependencies (Boolean useLatest)
GooglePlayServices.ResolverVer1_1.DoResolution (Google.JarResolver.PlayServicesSupport svcSupport, System.String destinationDirectory, Google.JarResolver.OverwriteConfirmation handleOverwriteConfirmation) (at Assets/PlayServicesResolver/Editor/ResolverVer1_1.cs:59)
GooglePlayServices.PlayServicesResolver.MenuResolve () (at Assets/PlayServicesResolver/Editor/PlayServicesResolver.cs:144) 

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 7, 2016, 3:32:04 PM7/7/16
to Google Mobile Ads SDK Developers
Hi Suhail,

It looks like you might be missing a few dependencies. Go to Unity > Preference > External Tools and open the Android SDK path. Then open android.exe from the tools folder, which would open the Android SDK Manager. Make sure that you have installed/updated the following frameworks - 
  • Android SDK Tools
  • Android Build Tools
  • Google Play Services
  • Google Support Library
  • Google Repository
Once that is done, import out Mobile Ads Plugin, switch to Android platform in the Build Settings, make sure that you have updated your Bundle Identifier in the Player Settings, right click on the Assets > PlayServicesResolver folder and select Google Play Services > Resolver Client Jars. You can use our sample script to Build And Run on your Android device. 

Let us know if that helps!

Thanks,
Veer Busani
Mobile Ads SDK Team

R.M. SUHAIL

unread,
Jul 8, 2016, 12:37:20 AM7/8/16
to google-adm...@googlegroups.com
Hi veer,

I guess i had updated them all and i don't find any Google Support Library in the SDK manager.

I attached snapshots of the Android SDK manager ,so that you can confirm every thing is updated that i require .

Waiting for your reply,

Thanks
RMS

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/djySAXCZ7HE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
RMS
G1.PNG
G2.PNG

R.M. SUHAIL

unread,
Jul 8, 2016, 12:45:34 AM7/8/16
to google-adm...@googlegroups.com
Hi Veer,

And one more thing what do you mean by updating your Bundle Identifier .
Do i need to change the name of the Bundle Identifier to something else i want.

Thanks again,

your wel wisher
RMS
--
RMS

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 8, 2016, 10:58:30 AM7/8/16
to Google Mobile Ads SDK Developers
Hi Suhail,

You need to change the default Bundle Identifier name given by Unity to something like com.companyName.projectName. The default name would not work. Also, you seem to have all of the necessary libraries updated. Were you able to make a build then? Did you follow all of my instructions precisely? Make a new project and only import our plugin. You can also use this sample project, which comes with Mobile Ads 3.0.4 plugin and a demo script attached, which you can readily build as well. 

Let us know if you were able to build. Note that couple of pubs simply had to reinstall Unity to be able to build. You could it a try as well!

Thanks,
Veer Busani
Mobile Ads SDK Team

On Friday, July 8, 2016 at 12:45:34 AM UTC-4, R.M. SUHAIL wrote:
Hi Veer,

And one more thing what do you mean by updating your Bundle Identifier .
Do i need to change the name of the Bundle Identifier to something else i want.

Thanks again,

your wel wisher
RMS
On Fri, Jul 8, 2016 at 10:07 AM, R.M. SUHAIL <rmsuh...@gmail.com> wrote:
Hi veer,

I guess i had updated them all and i don't find any Google Support Library in the SDK manager.

I attached snapshots of the Android SDK manager ,so that you can confirm every thing is updated that i require .

Waiting for your reply,

Thanks
RMS
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
RMS



--
RMS

Nam Nguyen

unread,
Jul 9, 2016, 11:06:50 AM7/9/16
to Google Mobile Ads SDK Developers
Hi Veer, please help me, I am in update 31 and when I play in editor it shows "The referenced script on this Behaviour is missing!" and when I build in my phone it shows ": C:\Android\sdk\platforms\android-24\android.jar(java/lang/Object.class): major version 52 is newer than 51, the highest major version supported by this compile".
Thank you.

Ten Nguyen

unread,
Jul 9, 2016, 11:35:16 PM7/9/16
to Google Mobile Ads SDK Developers
Problem sovled, I didnot update the jdk.

Delphine Han

unread,
Jul 20, 2016, 4:05:45 AM7/20/16
to Google Mobile Ads SDK Developers
Hello Veer,
I am working on an Android app using Unity.  After importing Mobile Ads Plugin v3.0.4 I got 2 similar errors on console when I tried to build the app.  Attached is details of one of the message.  Sorry I wasn't able to format it nicely.  Please let me know what other information I could provide you to help me resolve the problem.  Thank you in advance.  I really appreciate all your help.
Delphine
CommandInvokationFailure.docx

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 20, 2016, 1:45:32 PM7/20/16
to Google Mobile Ads SDK Developers
Hi Delphine,

Create a new project and once you have imported our Mobile Ads plugin, which currently is at v3.0.5, switch the platform to Android in Build Settings and update your Bundle Identifier in the Player Settings. Then right click on Assets > PlayServicesResolver and select Google Play Services > Resolve Client Jars. Before you do that, make sure that you have update the following frameworks from your Android SDK Manager - 
  • Google Repository
  • Google Play Services
  • Google Build Tools
  • Android Support Library
Once you have done that, you must be able to build the project. Let us know if you need anything else.

Thanks,
Veer Busani
Mobile Ads SDK Team

Delphine Han

unread,
Jul 20, 2016, 8:57:28 PM7/20/16
to Google Mobile Ads SDK Developers
Hi Veer, I couldn't find "Google Build Tools" and "Google Build Tools" in my Android SDK Manager.  Could it be referring them in other names, as I listed in () below?  I have put the version I installed to the right of each framework, and version available in ().  Please let me know which I should update, because sometimes new ones could cause additional problem for now.  FYI: I am using Unity as development environment, and building app for Android device.
  • Google Repository               27 (available 31)
  • Google Play Services          30 (available 31)
  • Google Build Tools (Android SDK Build-tools?)        23.0.3
  • Android Support Library (Android Support Repository?)  32 (available 34)
Looking forward to hearing from you.  Thanks.

Delphine

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 21, 2016, 11:06:55 AM7/21/16
to Google Mobile Ads SDK Developers
Hi Delphine,

I'm sorry for the confusion and I did in fact mean Android SDK Build Tools. Please do update the mentioned frameworks to the latest revisions and try to build again.

Thanks,
Veer Busani
Mobile Ads SDK Team

Delphine Han

unread,
Jul 21, 2016, 12:08:43 PM7/21/16
to Google Mobile Ads SDK Developers
Just want to make 100% sure.  Does "Android Support Library" = "Android Support Repository"?  I do not see "Android Support Library" on my Android SDK Manager.

Thanks for your instruction.  Once I hear from you to confirm, I will update them as you suggested.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 21, 2016, 12:24:05 PM7/21/16
to Google Mobile Ads SDK Developers
Hi Delphine,

There must be Android Support Library right below Android Support Repository. I have attached a screenshot for reference.

Thanks,
Veer Arjun Busani
Mobile Ads SDK Team
android sdk manager.png

Delphine Han

unread,
Jul 21, 2016, 2:19:00 PM7/21/16
to Google Mobile Ads SDK Developers
That is odd.  Attached is my screenshot.  Could it be because I don't use Android Studio for development.  I uses Unity instead.
my android sdk manager.png

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 21, 2016, 3:44:26 PM7/21/16
to Google Mobile Ads SDK Developers
Hi Delphine,

Can you remove the Android SDK and download a fresh one again? Follow this guideline and see if you can download that. Also update the other ones and see if you can build as well.

Thanks,
Veer Busani
Mobile Ads SDK Team

Delphine Han

unread,
Jul 22, 2016, 1:26:17 AM7/22/16
to Google Mobile Ads SDK Developers
I updated 3 items, and still not able to build my app. 

-          Android Support Repository 32 à 35

-          Google Play services 30 à 31

-          Google Repository 27 à 31


 I gI got 2 similar build errors,  Both say "Failed to re-package resources."  Let me know if you like to have the complete error message.  They are very long.  It mentioned "--extra-packages" which make me think there might be duplicate packages somehow.  On parsing the next section of the error message I get information below:

com.example.androidnative:

com.example.an_billing:

com.example.an_googleplay:

com.chartboost.sdk.unity:

com.example.an_social:android.support.v7.appcompat:android.support.v7.cardview:

com.chartboost.sdk.unity:

com.facebook:

com.facebook.android:

com.google.unity:

com.heyzap:

com.google.android.gms.ads.impl:

com.google.android.gms.ads.impl:

com.google.android.gms.ads:

com.google.android.gms.ads:

com.google.android.gms.analytics:

com.google.android.gms.analytics:

com.google.android.gms.appinvite:

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.clearcut:

com.google.android.gms.drive:

com.google.android.gms.games:

com.google.android.gms:

com.google.android.gms.gcm:

com.google.android.gms.iid:

com.google.android.gms.plus:

com.google.android.gms.tasks:android.support.v4:android.support.v4 


Any chance there are duplicates on the following items? and how could I possibly remove one from my app?

- com.google.android.gms.ads.impl

- com.google.android.gms.ads

- com.google.android.gms.analytics

- com.google.android.gms.base

- com.google.android.gms


Not sure what to remove using Android SDK Manager when you said "remove Android SDK".  Is it Android SDK Platform-tools, or Android SDK Build-tools, or Android 6.0 (APU 23) SDK Platform?  Sorry I am not very familiar with these items.  They can be so confusing, especially when I am afraid to make mistake. 

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 22, 2016, 12:46:00 PM7/22/16
to Google Mobile Ads SDK Developers
Hi Delphine,

Have you been able to install Android Support Library? Can you follow this post and see if you are able to install that library? Here is also a sample app that you can try to build directly.

Thanks,
Veer Busani
Mobile Ads SDK Team

Delphine Han

unread,
Jul 22, 2016, 7:28:52 PM7/22/16
to Google Mobile Ads SDK Developers
Yes, I followed the instruction to install Android Support Library.  Odd it is listed under "Obsolete" on my Windows PC.  Attached is a screenshot for your information.  I have to select to "Show Obsolete" for it to show up on the list.  I also checked the version of my Android SDK Manager.  It looks like that is not the problem.  I installed Android Support Library anyway, and try to build my app, with no success.  Still the same errors.  I do not understand why you want me to build a demo app which only has GoogleMobileAdsPlugin, therefore no conflict with other plugins to cause error.  Yes, the demo project does build and run.  But it doesn't really help me with me situation.

Any suggestion on what could be causing my build errors?

Thanks.
Android SDK Manager.png

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 22, 2016, 8:00:39 PM7/22/16
to Google Mobile Ads SDK Developers
HI Delphine,

If you are able to build the sample app, then there is no issue with our SDK. Can you let us know what other plugin that you are using that might be cause this issue?
Message has been deleted

Delphine Han

unread,
Jul 22, 2016, 9:53:03 PM7/22/16
to Google Mobile Ads SDK Developers
Hi Veer,
Can you also clarify for me, is Google Moble Ads package a "replacement" of Google Play Services?  Or an "update"?  Or a "wrapper" around Google Play Services? Or is it a totally separate package?

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 25, 2016, 10:54:26 AM7/25/16
to Google Mobile Ads SDK Developers
Hi Delphine,

In this forum, we only support our Mobile Ads SDK. If it's not building, my first suspect would be Android Manifest's merge failure with their plugin. But until we can reproduce this issue, we would not be able debug this. So do send us a sample app, which would reproduce the issue, and you can send this privately to us. 

Also, our Google Mobile Ads plugin acts as a bridge between the Google Play Services and Unity IDE, to load ads, when the app runs on the device.

Thanks,
Veer Busani
Mobile Ads SDK Team/
Message has been deleted

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 25, 2016, 2:10:37 PM7/25/16
to Google Mobile Ads SDK Developers
Hi Delphine,

Do look out for any email from me. You can reply to that directly.

Thanks,
Veer Busani
Mobile Ads SDK Team

On Monday, July 25, 2016 at 12:21:16 PM UTC-4, Delphine Han wrote:
Thank you.  Could you tell me how to send it privately to you?
Message has been deleted

Delphine Han

unread,
Jul 26, 2016, 10:11:28 PM7/26/16
to Google Mobile Ads SDK Developers
Hi Veer,

Thank you so much.  I was able to delete all the duplicated aar files.  I am now able to build the trim-down project.  You have been most helpful.  I truly appreciate it.

Delphine

R.M. SUHAIL

unread,
Jul 29, 2016, 3:29:13 AM7/29/16
to google-adm...@googlegroups.com
Hi Veer,
I updated to v3.0.5 and also i updated the required frameworks, but on building the project it shows the following error:

CommandInvokationFailure: Failed to re-package resources. See the Console for details.
E:\RM suhail\E Drive\Programmes\java\android-sdk\build-tools\23.0.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "E:/RM suhail/E Drive/Programmes/java/android-sdk\platforms\android-22\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.appcompat: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.clearcut:com.google.android.gms:com.google.android.gms.tasks:android.support.v4 -S "E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res" -S "E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\play-services-ads-9.2.1\res" -S "E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\play-services-ads-lite-9.2.1\res" -S "E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\play-services-base-9.2.1\res" -S "E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\play-services-basement-9.2.1\res" -S "E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\play-services-clearcut-9.2.1\res" -S "E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\play-services-gass-9.2.1\res" -S "E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\play-services-tasks-9.2.1\res" -S "E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\support-v4-23.1.1\res"

stderr[
E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\values-v23\values-v23.xml:5: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.

E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\values-v23\values-v23.xml:30: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.

]
stdout[
Configurations:
 (default)

Files:
  AndroidManifest.xml
    Src: () AndroidManifest.xml

Resource Dirs:
Including resources from package: E:\RM suhail\E Drive\Programmes\java\android-sdk\platforms\android-22\android.jar
applyFileOverlay for drawable
trying overlaySet Key=common_full_open_on_phone.png
trying overlaySet Key=common_google_signin_btn_icon_dark.xml
trying overlaySet Key=common_google_signin_btn_icon_dark_disabled.9.png
trying overlaySet Key=common_google_signin_btn_icon_dark_focused.9.png
trying overlaySet Key=common_google_signin_btn_icon_dark_normal.9.png
trying overlaySet Key=common_google_signin_btn_icon_dark_pressed.9.png
trying overlaySet Key=common_google_signin_btn_icon_light.xml
trying overlaySet Key=common_google_signin_btn_icon_light_disabled.9.png
trying overlaySet Key=common_google_signin_btn_icon_light_focused.9.png
trying overlaySet Key=common_google_signin_btn_icon_light_normal.9.png
trying overlaySet Key=common_google_signin_btn_icon_light_pressed.9.png
trying overlaySet Key=common_google_signin_btn_text_dark.xml
trying overlaySet Key=common_google_signin_btn_text_dark_disabled.9.png
trying overlaySet Key=common_google_signin_btn_text_dark_focused.9.png
trying overlaySet Key=common_google_signin_btn_text_dark_normal.9.png
trying overlaySet Key=common_google_signin_btn_text_dark_pressed.9.png
trying overlaySet Key=common_google_signin_btn_text_light.xml
trying overlaySet Key=common_google_signin_btn_text_light_disabled.9.png
trying overlaySet Key=common_google_signin_btn_text_light_focused.9.png
trying overlaySet Key=common_google_signin_btn_text_light_normal.9.png
trying overlaySet Key=common_google_signin_btn_text_light_pressed.9.png
trying overlaySet Key=common_ic_googleplayservices.png
trying overlaySet Key=common_plus_signin_btn_icon_dark.xml
trying overlaySet Key=common_plus_signin_btn_icon_dark_disabled.9.png
trying overlaySet Key=common_plus_signin_btn_icon_dark_focused.9.png
trying overlaySet Key=common_plus_signin_btn_icon_dark_normal.9.png
trying overlaySet Key=common_plus_signin_btn_icon_dark_pressed.9.png
trying overlaySet Key=common_plus_signin_btn_icon_light.xml
trying overlaySet Key=common_plus_signin_btn_icon_light_disabled.9.png
trying overlaySet Key=common_plus_signin_btn_icon_light_focused.9.png
trying overlaySet Key=common_plus_signin_btn_icon_light_normal.9.png
trying overlaySet Key=common_plus_signin_btn_icon_light_pressed.9.png
trying overlaySet Key=common_plus_signin_btn_text_dark.xml
trying overlaySet Key=common_plus_signin_btn_text_dark_disabled.9.png
trying overlaySet Key=common_plus_signin_btn_text_dark_focused.9.png
trying overlaySet Key=common_plus_signin_btn_text_dark_normal.9.png
trying overlaySet Key=common_plus_signin_btn_text_dark_pressed.9.png
trying overlaySet Key=common_plus_signin_btn_text_light.xml
trying overlaySet Key=common_plus_signin_btn_text_light_disabled.9.png
trying overlaySet Key=common_plus_signin_btn_text_light_focused.9.png
trying overlaySet Key=common_plus_signin_btn_text_light_normal.9.png
trying overlaySet Key=common_plus_signin_btn_text_light_pressed.9.png
trying overlaySet Key=abc_ab_share_pack_mtrl_alpha.9.png
trying overlaySet Key=abc_action_bar_item_background_material.xml
trying overlaySet Key=abc_btn_borderless_material.xml
trying overlaySet Key=abc_btn_check_material.xml
trying overlaySet Key=abc_btn_check_to_on_mtrl_000.png
trying overlaySet Key=abc_btn_check_to_on_mtrl_015.png
trying overlaySet Key=abc_btn_colored_material.xml
trying overlaySet Key=abc_btn_default_mtrl_shape.xml
trying overlaySet Key=abc_btn_radio_material.xml
trying overlaySet Key=abc_btn_radio_to_on_mtrl_000.png
trying overlaySet Key=abc_btn_radio_to_on_mtrl_015.png
trying overlaySet Key=abc_btn_rating_star_off_mtrl_alpha.png
trying overlaySet Key=abc_btn_rating_star_on_mtrl_alpha.png
trying overlaySet Key=abc_btn_switch_to_on_mtrl_00001.9.png
trying overlaySet Key=abc_btn_switch_to_on_mtrl_00012.9.png
trying overlaySet Key=abc_cab_background_internal_bg.xml
trying overlaySet Key=abc_cab_background_top_material.xml
trying overlaySet Key=abc_cab_background_top_mtrl_alpha.9.png
trying overlaySet Key=abc_control_background_material.xml
trying overlaySet Key=abc_dialog_material_background_dark.xml
trying overlaySet Key=abc_dialog_material_background_light.xml
trying overlaySet Key=abc_edit_text_material.xml
trying overlaySet Key=abc_ic_ab_back_mtrl_am_alpha.png
trying overlaySet Key=abc_ic_clear_mtrl_alpha.png
trying overlaySet Key=abc_ic_commit_search_api_mtrl_alpha.png
trying overlaySet Key=abc_ic_go_search_api_mtrl_alpha.png
trying overlaySet Key=abc_ic_menu_copy_mtrl_am_alpha.png
trying overlaySet Key=abc_ic_menu_cut_mtrl_alpha.png
trying overlaySet Key=abc_ic_menu_moreoverflow_mtrl_alpha.png
trying overlaySet Key=abc_ic_menu_paste_mtrl_am_alpha.png
trying overlaySet Key=abc_ic_menu_selectall_mtrl_alpha.png
trying overlaySet Key=abc_ic_menu_share_mtrl_alpha.png
trying overlaySet Key=abc_ic_search_api_mtrl_alpha.png
trying overlaySet Key=abc_ic_voice_search_api_mtrl_alpha.png
trying overlaySet Key=abc_item_background_holo_dark.xml
trying overlaySet Key=abc_item_background_holo_light.xml
trying overlaySet Key=abc_list_divider_mtrl_alpha.9.png
trying overlaySet Key=abc_list_focused_holo.9.png
trying overlaySet Key=abc_list_longpressed_holo.9.png
trying overlaySet Key=abc_list_pressed_holo_dark.9.png
trying overlaySet Key=abc_list_pressed_holo_light.9.png
trying overlaySet Key=abc_list_selector_background_transition_holo_dark.xml
trying overlaySet Key=abc_list_selector_background_transition_holo_light.xml
trying overlaySet Key=abc_list_selector_disabled_holo_dark.9.png
trying overlaySet Key=abc_list_selector_disabled_holo_light.9.png
trying overlaySet Key=abc_list_selector_holo_dark.xml
trying overlaySet Key=abc_list_selector_holo_light.xml
trying overlaySet Key=abc_menu_hardkey_panel_mtrl_mult.9.png
trying overlaySet Key=abc_popup_background_mtrl_mult.9.png
trying overlaySet Key=abc_ratingbar_full_material.xml
trying overlaySet Key=abc_scrubber_control_off_mtrl_alpha.png
trying overlaySet Key=abc_scrubber_control_to_pressed_mtrl_000.png
trying overlaySet Key=abc_scrubber_control_to_pressed_mtrl_005.png
trying overlaySet Key=abc_scrubber_primary_mtrl_alpha.9.png
trying overlaySet Key=abc_scrubber_track_mtrl_alpha.9.png
trying overlaySet Key=abc_seekbar_thumb_material.xml
trying overlaySet Key=abc_seekbar_track_material.xml
trying overlaySet Key=abc_spinner_mtrl_am_alpha.9.png
trying overlaySet Key=abc_spinner_textfield_background_material.xml
trying overlaySet Key=abc_switch_thumb_material.xml
trying overlaySet Key=abc_switch_track_mtrl_alpha.9.png
trying overlaySet Key=abc_tab_indicator_material.xml
trying overlaySet Key=abc_tab_indicator_mtrl_alpha.9.png
trying overlaySet Key=abc_text_cursor_material.xml
trying overlaySet Key=abc_textfield_activated_mtrl_alpha.9.png
trying overlaySet Key=abc_textfield_default_mtrl_alpha.9.png
trying overlaySet Key=abc_textfield_search_activated_mtrl_alpha.9.png
trying overlaySet Key=abc_textfield_search_default_mtrl_alpha.9.png
trying overlaySet Key=abc_textfield_search_material.xml
trying overlaySet Key=app_banner.png
trying overlaySet Key=app_icon.png
applyFileOverlay for layout
trying overlaySet Key=abc_action_bar_title_item.xml
trying overlaySet Key=abc_action_bar_up_container.xml
trying overlaySet Key=abc_action_bar_view_list_nav_layout.xml
trying overlaySet Key=abc_action_menu_item_layout.xml
trying overlaySet Key=abc_action_menu_layout.xml
trying overlaySet Key=abc_action_mode_bar.xml
trying overlaySet Key=abc_action_mode_close_item_material.xml
trying overlaySet Key=abc_activity_chooser_view.xml
trying overlaySet Key=abc_activity_chooser_view_list_item.xml
trying overlaySet Key=abc_alert_dialog_button_bar_material.xml
trying overlaySet Key=abc_alert_dialog_material.xml
trying overlaySet Key=abc_dialog_title_material.xml
trying overlaySet Key=abc_expanded_menu_layout.xml
trying overlaySet Key=abc_list_menu_item_checkbox.xml
trying overlaySet Key=abc_list_menu_item_icon.xml
trying overlaySet Key=abc_list_menu_item_layout.xml
trying overlaySet Key=abc_list_menu_item_radio.xml
trying overlaySet Key=abc_popup_menu_item_layout.xml
trying overlaySet Key=abc_screen_content_include.xml
trying overlaySet Key=abc_screen_simple.xml
trying overlaySet Key=abc_screen_simple_overlay_action_mode.xml
trying overlaySet Key=abc_screen_toolbar.xml
trying overlaySet Key=abc_search_dropdown_item_icons_2line.xml
trying overlaySet Key=abc_search_view.xml
trying overlaySet Key=abc_select_dialog_material.xml
trying overlaySet Key=notification_media_action.xml
trying overlaySet Key=notification_media_cancel_action.xml
trying overlaySet Key=notification_template_big_media.xml
trying overlaySet Key=notification_template_big_media_narrow.xml
trying overlaySet Key=notification_template_lines.xml
trying overlaySet Key=notification_template_media.xml
trying overlaySet Key=notification_template_part_chronometer.xml
trying overlaySet Key=notification_template_part_time.xml
trying overlaySet Key=select_dialog_item_material.xml
trying overlaySet Key=select_dialog_multichoice_material.xml
trying overlaySet Key=select_dialog_singlechoice_material.xml
trying overlaySet Key=support_simple_spinner_dropdown_item.xml
applyFileOverlay for anim
trying overlaySet Key=abc_fade_in.xml
trying overlaySet Key=abc_fade_out.xml
trying overlaySet Key=abc_grow_fade_in_from_bottom.xml
trying overlaySet Key=abc_popup_enter.xml
trying overlaySet Key=abc_popup_exit.xml
trying overlaySet Key=abc_shrink_fade_out_from_bottom.xml
trying overlaySet Key=abc_slide_in_bottom.xml
trying overlaySet Key=abc_slide_in_top.xml
trying overlaySet Key=abc_slide_out_bottom.xml
trying overlaySet Key=abc_slide_out_top.xml
applyFileOverlay for animator
applyFileOverlay for interpolator
applyFileOverlay for transition
applyFileOverlay for xml
applyFileOverlay for raw
applyFileOverlay for color
trying overlaySet Key=common_google_signin_btn_text_dark.xml
trying overlaySet Key=common_google_signin_btn_text_light.xml
trying overlaySet Key=common_plus_signin_btn_text_dark.xml
trying overlaySet Key=common_plus_signin_btn_text_light.xml
trying overlaySet Key=abc_background_cache_hint_selector_material_dark.xml
trying overlaySet Key=abc_background_cache_hint_selector_material_light.xml
trying overlaySet Key=abc_color_highlight_material.xml
trying overlaySet Key=abc_primary_text_disable_only_material_dark.xml
trying overlaySet Key=abc_primary_text_disable_only_material_light.xml
trying overlaySet Key=abc_primary_text_material_dark.xml
trying overlaySet Key=abc_primary_text_material_light.xml
trying overlaySet Key=abc_search_url_text.xml
trying overlaySet Key=abc_secondary_text_material_dark.xml
trying overlaySet Key=abc_secondary_text_material_light.xml
trying overlaySet Key=switch_thumb_material_dark.xml
trying overlaySet Key=switch_thumb_material_light.xml
applyFileOverlay for menu
applyFileOverlay for mipmap
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-mdpi\abc_ab_share_pack_mtrl_alpha.9.png
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-hdpi\abc_ab_share_pack_mtrl_alpha.9.png
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xhdpi\abc_ab_share_pack_mtrl_alpha.9.png
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxhdpi\abc_ab_share_pack_mtrl_alpha.9.png
    (processed image E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-mdpi\abc_ab_share_pack_mtrl_alpha.9.png: 253% size of source)
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-mdpi\abc_btn_check_to_on_mtrl_000.png
    (processed image E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-hdpi\abc_ab_share_pack_mtrl_alpha.9.png: 256% size of source)
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-hdpi\abc_btn_check_to_on_mtrl_000.png
    (processed image E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xhdpi\abc_ab_share_pack_mtrl_alpha.9.png: 253% size of source)
    (processed image E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxhdpi\abc_ab_share_pack_mtrl_alpha.9.png: 236% size of source)
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcomp    at-v(p7-23r.1.1\ocreessse\ddr awiamagblee-xhdp i\abc_Eb:tn\_checBkA_tCoK_UoPn\An_dmrtorli_000d.\pngG
oogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-mdpi\abc_btn_check_to_on_mtrl_000.png: 134% size of source)
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxhdpi\abc_btn_check_to_on_mtrl_000.png
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxxhdpi\abc_btn_check_to_on_mtrl_000.png
    (processed image E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xhdpi\abc_btn_check_to_on_mtrl_000.png: 125% size of source)
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-mdpi\abc_btn_check_to_on_mtrl_015.png
    (processed image E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxhdpi\abc_btn_check_to_on_mtrl_000.png: 119% size of source)
Processing image: E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-hdpi\abc_btn_check_to_on_mtrl_015.png
    (processed image E:\BACKUP\Android\Goo g l e A(prdoMcoesb\Temsp\Sedt imaaggie ngAreEa:\B\ACandroKUiP\Adn-libdrraoriid\eGso\ogalpepAdMcoobm\pat-vT7-e2mp\S3t.agin1gA.r1ea\\ares\drnadwroida-blle-ibrarimedpis\\appcoabmpact-_vb7-2t3n_.1c.h1eck_t\roe_s\odrn_awmabtlrel_015.png-h:dpi \abc_1btn33_che%ck _stioz_e oon_mtrf l_00s0ou.pngr:ce )
134% s<message truncated>

I thought you might help it out where the problem is.

Your well wisher,
RMS

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/djySAXCZ7HE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
RMS

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jul 29, 2016, 11:31:01 AM7/29/16
to Google Mobile Ads SDK Developers
Hi Suhail,

Can you try to make a fresh project with only the Mobile Ads plugin and build again? It could be due to duplicate libraries that the build is failing. Can you try to build using this sample app and let us know?

Thanks,
Veer Busani
Mobile Ads SDK Team

To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
RMS

R.M. SUHAIL

unread,
Jul 30, 2016, 11:38:34 PM7/30/16
to google-adm...@googlegroups.com
HI Veer,

I tried the MAD 3.0.5 ,but when i build it the error seems to be same .

No extra library was added only the MAD 3.0.5 Plugin .



Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
E:\RM suhail\E Drive\Programmes\java\android-sdk\build-tools\23.0.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "E:/RM suhail/E Drive/Programmes/java/android-sdk\platforms\android-22\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.appcompat: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.clearcut:com.google.android.gms:com.google.android.gms.tasks:android.support.v4 -S "C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res" -S "C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\play-services-ads-9.2.1\res" -S "C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\play-services-ads-lite-9.2.1\res" -S "C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\play-services-base-9.2.1\res" -S "C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\play-services-basement-9.2.1\res" -S "C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\play-services-clearcut-9.2.1\res" -S "C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\play-services-gass-9.2.1\res" -S "C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\play-services-tasks-9.2.1\res" -S "C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\support-v4-23.1.1\res"

stderr[
C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\values-v23\values-v23.xml:5: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.

C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\values-v23\values-v23.xml:30: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Processing image: C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-mdpi\abc_ab_share_pack_mtrl_alpha.9.png
Processing image: C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingAPrrea\anodrcessoiidng- liibrariems\agappec: ompCat:\-v7-23U.1.1se\rres\s\dRrM awSuahblae-ihdpi\abl\cDo_cumaeb_shnats\rMAe_D\MpAaD c3k._m0.5t\Trl_alepmhp\Sa.t9.apging
ngArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xhdpi\abc_ab_share_pack_mtrl_alpha.9.png
Processing image: C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxhdpi\abc_ab_share_pack_mtrl_alpha.9.png
    (processed image C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-hdpi\abc_ab_share_pack_mtrl_alpha.9.png: 256% size of source)
    (processed image C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxhdpi\abc_ab_share_pack_mtrl_alpha.9.png: 236% size of source)
Processing image: C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-mdpi\abc_btn_check_to_on_mtrl_000.png
Processing image: C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-hdpi\abc_btn_check_to_on_mtrl_000.png
    (processed image C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-mdpi\abc_btn_check_to_on_mtrl_000.png: 134% size of source)
Processing image: C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\ StagingAr ea\android-librar  (pies\appcompat-v7-23.1.1\res\drawable-xrhdpi\abc_btn_check_to_on_mtrl_000.pong
cessed image C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-hdpi\abc_btn_check_to_on_mtrl_000.png: 134% size of source)
Processing image: C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxhdpi\abc_btn_check_to_on_mtrl_000.png
    (processed image C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xhdpi\abc_btn_check_to_on_mtrl_000.png: 125% size of source)
Processing image: C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxxhdpi\abc_btn_check_to_on_mtrl_000.png
    (processed image C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxhdpi\abc_btn_check_to_on_mtrl_000.png: 119% size of source)
Processing image: C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-mdpi\abc_btn_check_to_on_mtrl_015.png
    (processed image C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\drawable-xxxhdpi\abc_btn_check_to_on_mtrl_000.png: 103% size of source)
Processing image: C:\Users\RM Suhail\Documents\MAD\MAD 3.0.5\Temp\StagingArea\android-libraries\appcompat-v7-23.<message truncated>

Thanks for the reply.

your well wisher,
RMS

To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
RMS

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/djySAXCZ7HE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
RMS

R.M. SUHAIL

unread,
Jul 31, 2016, 12:50:53 AM7/31/16
to google-adm...@googlegroups.com
Hi Veer,

Seems like the error is gone after i updated the SDK platform 22.
 
Now the following errors are shown by the unity console on build:

No.1:

Failed to compile resources with the following parameters:
-bootclasspath "E:/RM suhail/E Drive/Programmes/java/android-sdk\platforms\android-24\android.jar" -d "E:\BACKUP\Android\GoogleAdMob\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "android\support\v4\R.java" "android\support\v7\appcompat\R.java" "com\dagames\googleadmob\R.java" "com\google\android\gms\R.java" "com\google\android\gms\ads\R.java" "com\google\android\gms\ads\impl\R.java" "com\google\android\gms\base\R.java" "com\google\android\gms\clearcut\R.java" "com\google\android\gms\tasks\R.java" "com\google\unity\R.java"
warning: E:\RM suhail\E Drive\Programmes\java\android-sdk\platforms\android-24\android.jar(java/lang/Object.class): major version 52 is newer than 51, the highest major version supported by this compiler.
  It is recommended that the compiler be upgraded.
warning: E:\RM suhail\E Drive\Programmes\java\android-sdk\platforms\android-24\android.jar(java/lang/AutoCloseable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
  It is recommended that the compiler be upgraded.
2 warnings

UnityEditor.HostView:OnGUI()


No.2:

UnityException: Resource compilation failed!
Failed to recompile android resource files. See the Console for details.
UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message, System.Exception ex)
UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message)
UnityEditor.Android.PostProcessAndroidPlayer.CompileResources (System.String stagingArea, System.String packageName, UnityEditor.Android.AndroidLibraries androidLibraries)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
UnityEditor.HostView:OnGUI()


Please look into the matter and tell me , do i need to update any SDK.

Your well wisher,
RMS


--
RMS

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 1, 2016, 10:11:49 AM8/1/16
to Google Mobile Ads SDK Developers
Hi Suhail,

Can you recheck your Android SDK Manager to see if any of the above mentioned frameworks need to get upgraded? If so, do that and try to build again with the above linked sample app. You can always reinstall the Android SDK and use the Android Studio IDE to install one for you. Let us know if that helps for you. 

Thanks,
Veer Busani
Mobile Ads SDK Team

On Sunday, July 31, 2016 at 12:50:53 AM UTC-4, R.M. SUHAIL wrote:
Hi Veer,

Duy Nguyen

unread,
Aug 15, 2016, 3:06:15 AM8/15/16
to Google Mobile Ads SDK Developers
Please, Help! I can't building my App Android in Unity 3D! This is my Error!

DirectoryNotFoundException: Could not find a part of the path "Assets\Plugins\Android\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_disabled_dark.9.png" or "Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\common_signin_btn_icon_disabled_dark.9.png"
System.IO.File.Copy (System.String sourceFileName, System.String destFileName, Boolean overwrite) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:124)
UnityEditor.FileUtil.UnityFileCopy (System.String from, System.String to, Boolean overwrite) (at C:/buildslave/unity/build/Editor/Mono/FileUtil.cs:207)
UnityEditor.FileUtil.CopyDirectoryFiltered (System.String source, System.String target, Boolean overwrite, System.Func`2 includeCallback, Boolean recursive) (at C:/buildslave/unity/build/Editor/Mono/FileUtil.cs:142)
UnityEditor.FileUtil.CopyDirectoryFiltered (System.String source, System.String target, Boolean overwrite, System.Func`2 includeCallback, Boolean recursive) (at C:/buildslave/unity/build/Editor/Mono/FileUtil.cs:156)
UnityEditor.FileUtil.CopyDirectoryFiltered (System.String source, System.String target, Boolean overwrite, System.Func`2 includeCallback, Boolean recursive) (at C:/buildslave/unity/build/Editor/Mono/FileUtil.cs:156)
UnityEditor.FileUtil.CopyDirectoryFiltered (System.String source, System.String target, Boolean overwrite, System.String regExExcludeFilter, Boolean recursive) (at C:/buildslave/unity/build/Editor/Mono/FileUtil.cs:121)
UnityEditor.FileUtil.CopyDirectoryRecursiveFiltered (System.String source, System.String target, Boolean overwrite, System.String regExExcludeFilter) (at C:/buildslave/unity/build/Editor/Mono/FileUtil.cs:102)
UnityEditor.FileUtil.CopyDirectoryRecursiveForPostprocess (System.String source, System.String target, Boolean overwrite) (at C:/buildslave/unity/build/Editor/Mono/FileUtil.cs:97)
UnityEditor.Android.PostProcessAndroidPlayer.PreparePlugins (System.String stagingArea, System.String targetLibrariesFolder)

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 15, 2016, 10:23:05 AM8/15/16
to Google Mobile Ads SDK Developers
Hi Duy,

It look like you are missing certain frameworks in your Android SDK. Open the SDK Manager for Android and make sure that you have - Google Play Services and Android SDK Build Tools installed and updated. Next, once you have switched your platform to Android in Unity, right click on Assets > PlayServicesResolver and select Google Play Services > Resolve Client Jars. This would copy over the required dependencies into your project. 

Also, I have a sample app that you can test as well. Let us know if that helps.

Thanks,
Veer Busani
Mobile Ads SDK Team

dmitry....@onthespotdev.com

unread,
Jul 31, 2017, 5:38:40 AM7/31/17
to Google Mobile Ads SDK Developers
Your sample project can be built with internal Unity build system. But I need to build with Gradle, so your sample project, just like mine projects falls while building with error:
"stderr[
D:\Projects\MAD 3.0.5\Temp\gradleOut\GoogleMobileAdsPlugin\build\intermediates\bundles\release\aapt\AndroidManifest.xml:25:28-65: AAPT: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version')."
Reply all
Reply to author
Forward
0 new messages