R rkmoray Active Member Licensed User Longtime User Nov 21, 2011 #1 I am installed admobile into my app for the first time. I get a message in the log "invalid google ad request" Please help.
I am installed admobile into my app for the first time. I get a message in the log "invalid google ad request" Please help.
Erel B4X founder Staff member Licensed User Longtime User Nov 21, 2011 #2 Can you post your manifest file content? Upvote 0
R rkmoray Active Member Licensed User Longtime User Nov 21, 2011 #3 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.Lensea.DriveSafe" android:versionCode="0" android:versionName=".1" android:installLocation="internalOnly"> <uses-sdk android:minSdkVersion="4" /> <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"/> <application android:icon="@drawable/icon" android:label="DriveSafe"> <activity android:windowSoftInputMode="stateHidden" android:launchMode="singleTop" android:name=".main" android:label="DriveSafe" android:screenOrientation="unspecified"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <service android:name="listener"></service> <receiver android:name="listener$listener_BR"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED"/> </intent-filter> </receiver> <!-- *** For AdMob: manually added *** --> <activity android:name="com.google.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/> </application> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.READ_CONTACTS"/> <uses-permission android:name="android.permission.WAKE_LOCK"/> <uses-permission android:name="android.permission.SEND_SMS"/> <uses-permission android:name="android.permission.RECEIVE_SMS"/> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> </manifest> Upvote 0
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.Lensea.DriveSafe" android:versionCode="0" android:versionName=".1" android:installLocation="internalOnly"> <uses-sdk android:minSdkVersion="4" /> <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"/> <application android:icon="@drawable/icon" android:label="DriveSafe"> <activity android:windowSoftInputMode="stateHidden" android:launchMode="singleTop" android:name=".main" android:label="DriveSafe" android:screenOrientation="unspecified"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <service android:name="listener"></service> <receiver android:name="listener$listener_BR"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED"/> </intent-filter> </receiver> <!-- *** For AdMob: manually added *** --> <activity android:name="com.google.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/> </application> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.READ_CONTACTS"/> <uses-permission android:name="android.permission.WAKE_LOCK"/> <uses-permission android:name="android.permission.SEND_SMS"/> <uses-permission android:name="android.permission.RECEIVE_SMS"/> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> </manifest>
Erel B4X founder Staff member Licensed User Longtime User Nov 23, 2011 #4 Your manifest file looks correct. Have you downloaded the latest AdMob library from google? Have you configured the paths to use android.jar of platform-13 or above? I have just tried to run the latest version and it runs fine. Upvote 0
Your manifest file looks correct. Have you downloaded the latest AdMob library from google? Have you configured the paths to use android.jar of platform-13 or above? I have just tried to run the latest version and it runs fine.
eps Expert Licensed User Longtime User Nov 23, 2011 #5 Just to confirm, you have signed up with Admob and got a developer id?? and put it in your code?? Upvote 0