from:http://stackoverflow.com/questions/11208729/error-string-types-not-allowed-at-androidconfigchanges-in-manifest-file


Here is my manifest file which shows error string types not allowed at android:configChanges please help me in rectification of the error.below is my manifest file.

<?xml version="1.0" encoding="utf-8"?>    <manifest xmlns:android="http://schemas.android.com/apk/res/android"    package="com.ifahja.banner"    android:versionCode="1"    android:versionName="1.0" >    <uses-sdk android:minSdkVersion="10"/>    <application        android:icon="@drawable/ic_launcher"        android:label="@string/app_name" >        <activity            android:name=".MyBannerActivity"            android:label="@string/app_name" >            <intent-filter>                <action android:name="android.intent.action.MAIN" />                <category android:name="android.intent.category.LAUNCHER" />            </intent-filter>        </activity>        <activity android:name="com.google.ads.AdActivity"                  android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>    </application>    <uses-permission android:name="android.permission.INTERNET"/>  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/></manifest>


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.

Invest your time in reading

http://developer.android.com/guide/topics/manifest/activity-element.html#config


还有这个参数,老版本也不支持:

"layoutDirection"



更多相关文章

  1. Configuration on demand is not supported by the current vers
  2. Android中如何获取应用版本号
  3. Android(安卓)xposed Hook 初探01
  4. Android(安卓)SqlLiter使用
  5. API 23及之后版本关于用android studio 中LocationManager的方法
  6. Android页面跳转是如何传递参数的
  7. Android各版本代号/版本号/API级别
  8. mybatisplus的坑 insert标签insert into select无参数问题的解决
  9. Python技巧匿名函数、回调函数和高阶函数

随机推荐

  1. Android 列表数据写入到本地Excel文件(包
  2. Android的res目录
  3. android之通过USB插拔流程来了解android
  4. Android灯光系统(硬件访问服务框架)
  5. Android安装apk文件并适配Android 7.0详
  6. Android SDK无法更新怎么办
  7. Android中设置屏幕全屏两种方法:
  8. android让界面不被弹出的键盘挤上去
  9. Android android:allowBackup waiting fo
  10. Android 底部虚拟按键颜色修改