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. Android中如何获取应用版本号
  2. Android页面跳转是如何传递参数的
  3. API 23及之后版本关于用android studio 中LocationManager的方法
  4. AndFire防火墙1.2版本发布
  5. Android 平台如何获取程序的版本
  6. Android参数设置父布局集体宽高
  7. Android各版本代号

随机推荐

  1. 情报研判可视化分析平台开发解决方案
  2. 通过kuboard实现弹性伸缩
  3. Java和HTML有什么区别?哪个更重要?
  4. shell编程及自动化运维--循环
  5. runC爆严重安全漏洞,主机可被***!使用容器
  6. 开源数据库MySQL DBA运维实战
  7. k8s-1.15-master高可用部署
  8. 通过kuboard更新镜像版本
  9. Fatal: (vsim-3381) obsolete library fo
  10. 云计算第一阶段学习汇总