I got the latest AdMob SDK. After i added the activity like this:
<activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
i got the following error: “Error: String types not allowed (at ‘configChanges’ with value ‘keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|
smallestScreenSize’).”
After some diggings here on this support forum i understood that i need to take the Android 3.2 SDK for the AdMob to work.
HOWEVER! My application is targeted for Android 2.1 (and on).
So if i target the app for the Android 3.2 (only because of AdMob), will it block the phones running Eclair/Froyo/Gingerbread from installing/running my application?
You need to get the Android 3.2 SDK and “compile” against it by setting your project.properties file to
target=android-13. You can still have your apps run on Android 2.1 and above by settingandroid:minSdkVersion="7".