Cannot get Admob SDK to work properly with Unity 5.3 <RESOLVED>

Hi!

I’ve been trying to get the Admob for Unity to work properly with Unity 5.3.

I’ve tried lots of things and the error I get during runtime is:
AndroidJavaException: java.lang.ClassNotFoundException: com.google.android.gms.ads.mediation.admob.AdMobExtras

I’ve tried to add google-play-services_lib to project but that doesn’t solve it.

I have another project running on Unity 5.2 where this works great.

Has anyone else had similar problems?

I’m using https://developers.google.com/admob/android/games and I also use the new 5.3 IAP feature.

After loads of testing and countless hours I’ve managed to fix it :slight_smile:

The latest Admob for Unity had a PlayServicesResolver and when I removed the Google Play jar file I was using it managed to resolve the files that was actually needed for Google Admob.

So I needed the following jar files:
appcompat-v7-23.1.1
play-services-ads-8.4.0
play-services-basement-8.4.0
support-annotations-23.1.1
support-v4-23.1.1