ADMOB Error

bazp

Member
Licensed User
Longtime User
I am getting the following error in my program when compiled with ADMOB

Compiling code. 0.05
Using existing readonly AndroidManifest.xml

Generating R file. 0.00
Compiling generated Java code. Error
B4A line: 72
Activity.AddView(AdView1, 0dip, 0dip, 320dip, 50dip) 'previously the height was 48dip. Now it is 50di p.
javac 1.6.0_23
src\alpha\android\mover\main.java:255: cannot access com.google.ads.AdView
class file for com.google.ads.AdView not found
mostCurrent._activity.AddView((android.view.View)( mostCurrent._adview1.getObject()),anywheresoftware .b4a.keywords.Common.DipToCurrent((int)(0)),anywhe resoftware.b4a.keywords.Common.DipToCurrent((int)( 0)),anywheresoftware.b4a.keywords.Common.DipToCurr ent((int)(320)),anywheresoftware.b4a.keywords.Comm on.DipToCurrent((int)(50)));
^
1 error


I could not find the GoogleAdMobAdsSdkAndroid.jar listed in step 5 of the tutorial?
 
Last edited:
Top