1
votes

Eclipse is giving me an error on the android:configChanges line in my AndroidManifest.xml: "< activity android:name="com.google.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize">"

the error is:

error: Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize').

If I leave only keyboard|keyboardHidden|orientation there's no error, but compiler asks for the 4 remaining ones when I try and build. But there is no ads displayed.

I'm using GoogleAdMobAdsSDK-4.3.1. If i set project.properties target-13.my android 2.3 device does not run the app..But my device run so many app that having ads are displayed..

Please Help me..!!!

2

2 Answers

0
votes

you need do this:

The Google AdMob Ads SDK for Android requires Android 1.5 or later. Make sure you have the latest copy of the Android SDK and that you're compiling against at least Android v3.2 (set target in default.properties to android-13).

0
votes

Check out this blog post. You need to set android-13 for 4.3.1 to compile, but you can use

<uses-sdk android:minSdkVersion="9"/>

or any version down to 3, and your app will then run on your 2.3 device.