0
votes

I integrated AdMob in my app using Eclipse Juno - it is working fine. But when I tried to integrate it using Android Studio, I get this error:

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

I also added jar file in libs folder. I use minSdk =9 and targetSdk=18. I also changed project.properties file to "target=android-13".

2

2 Answers

1
votes

screenSize and smallestScreenSize were only added in API 13. See http://developer.android.com/guide/topics/manifest/activity-element.html#config

I presume you are getting this error when building the app? Change your build config so that you are building against version 13 or up of the SDK.

0
votes

Check your target api level and minimum api level. i had similar issue before and i solved it like this:

target api level = highest available

minimum api level = 9

I dont know much about Android studio but you can do it from manifest.xml

i hope it helps.