Error string types not allowed at android:configChanges in manifest file
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
screenSize
& smallestScreenSize
attributes are not available in SDK 10.They are been introduced in API level 13.
http://developer.android.com/guide/topics/manifest/activity-element.html#config
AndroidManifest.xml:47: error: Error: String types not allowed
Your minSdkVersion should be 13 .
Set this .I hope it will works .
For details please check below Links .
Error string types not allowed at android:configChanges in manifest file
"Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden| orien"... in AndroidManifest.xml
Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden| orien... in AndroidManifest.xml
Configure your libgdx Android Manifest like this and specify both min and target sdk version:
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="19" />
You can use API 5 as the minimum android version as this is what libgdx still supports. Don't get confused about the meaning of the target sdk version: this basically means that you have tested it against latest android version, it doesn't mean that it won't run on previous versions, because you have specified a min sdk before. Rule of thumb: put min-sdk as low as possible and target-sdk as high as possible.
Configuring it that way your game should still run in old devices and using configChanges like this will work as well:
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
I have just recently launched a game with configurations like this and works like a charm even on Gingerbread ;-)
Error:(121, 36) String types not allowed (at 'configChanges'
android:configChanges="screenSize|smallestScreenSize"
These attributes were introduced in API level 13, so make sure your minSdkVersion is equal to 13 or higher. The same applies to your compileSdkVersion.
See also: Error string types not allowed at android:configChanges in manifest file
android admob integration issue - string types not allowed
I had the same problem. I will tell you what I did.
right click on the project folder in eclipse
- -properties
- -choose android
- -choose firmware 3.2 or higher
and then use this in the manifest
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
thats all
Related Topics
Gradle Error:Execution Failed for Task ':App:Processdebuggoogleservices'
Textinputlayout :How to Give Padding or Margin to Hint
How to Animate Marker in Android Map API V2
How to Change Separator Color in Navigationview
Using Android.Support.V7.Widget.Cardview in My Project (Eclipse)
How to Send a Simple Email Programmatically? (Exists a Simple Way to Do It)
Google Cloud Messaging - Messages Sometimes Not Received Until Network State Changed
How to Display Border to Imageview
How to Style the Menu Items on an Android Action Bar
How to Change Package Name in Android Studio
Android Image View Matrix Scale + Translate
Detect If an App Is Installed from Play Store
No Network Security Config Specified, Using Platform Default - Android Log
Do Geofences Remain Active in Android After a Device Reboot
Android Sd Card Write Permission Using Saf (Storage Access Framework)
How to Insert Image in a SQLite Database
Does Setwidth(Int Pixels) Use Dip or Px
Multiple Count Down Timers in Recyclerview Flickering When Scrolled