AdMob+Android: String types not allowed (at 'configChanges' with value 'keyboard|key [duplicate]
Asked Answered
O

1

2

Possible Duplicate:
Admob Error in Eclipse for android:configChanges

I'm trying to get AdMob to work in my Android app. I'm making a new question because I already followed the advice of previous threads.

I'm using Appcelerator Titanium.

  • Android API is set to 4.0.3 in Run Configurations inside Titanium.
  • Tool API Level: <tool-api-level>16</tool-api-level>
  • Activity: <activity android:name="com.google.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
  • I've ran a Clean on my project

Getting this error:

[ERROR] /Users/Path/build/android/AndroidManifest.xml:13: error: Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize').

What am I doing wrong/What is causing this? Thank you.

Optic answered 31/5, 2012 at 13:55 Comment(2)
#7900267Keeleykeelhaul
Kazekage, as noted, I've followed that thread and the guidelines within it, but I still get this error.Optic
S
6

In the tag in AndroidManifest, use this:

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"/>

Of course, change the minSdkVersion to whatever you're using now.

Also, set the target to 17 on project.properties, then save, fix project properties and clean.

EDIT: Changed targetSdkVersion and target on project.properties from 15 to 17. Just try to target the latest version available.

Soul answered 31/5, 2012 at 14:3 Comment(3)
I have done that, I still get the error.Optic
i have also done that and still the same error .....Suprematism
You can also try Help -> About ->Installation History, and change it to a previous workstationTranspose

© 2022 - 2024 — McMap. All rights reserved.