Hi, I'm trying to compile an app that uses the AdMob v2.00 library and I'm getting the error:
...\admobsupport.java:29: error: cannot access AdView
_a.AddView((android.view.View)(_adview1.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (0)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (0)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (320)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (50)));
^
class file for com.google.android.gms.ads.AdView not found
I believe it's because I have v25 of Google Play Services, and I should be using v20?
I have this in my Main module:
If I do need to use v20, do you know where I can get it from? If it's not a version issue, does anybody know what is causing the error?
Thank you,
Richy
...\admobsupport.java:29: error: cannot access AdView
_a.AddView((android.view.View)(_adview1.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (0)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (0)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (320)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (50)));
^
class file for com.google.android.gms.ads.AdView not found
I believe it's because I have v25 of Google Play Services, and I should be using v20?
I have this in my Main module:
B4X:
#AdditionalRes: c:\Users\Richard\AppData\Local\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms
If I do need to use v20, do you know where I can get it from? If it's not a version issue, does anybody know what is causing the error?
Thank you,
Richy