Skip to content Skip to sidebar Skip to footer

Admob For Version 1.6

I have a admob project that works great when the android version in project properties is set to 2.3. But When I try to set on 1.6 then it complaints in the android manifest at thi

Solution 1:

I'd guess that you need to check which tags are supported in that SDK version.

See here.

See that uiMode was added in SDK 8 and screenSize in 13. Try that.

Here it works even in 1.5. Just an example:

<activityandroid:name="com.google.ads.AdActivity"android:configChanges="keyboard|keyboardHidden|orientation"
        />

Solution 2:

That is because most of those values in the configChanges attribute were introduced in SDKs after Android 1.6, so to get rid of that error you have to compile against SDK 13 (Android 3.2) -- install the SDK, and in your project Properties / Android / Project Build Target make sure it's Android 3.2.

In addition, if you want to target older devices (earlier than 3.2), make sure you keep minSdkVersion="4" so the users of Android 1.6 and up could install your app too.

Post a Comment for "Admob For Version 1.6"