If you are using this SDK to build an application that is compatible only with Android-powered devices running the Android 1.1 platform, please note that you must set the the android:minSdkVersion attribute in the application's manifest to the API Level of Android 1.1 — "2".Specifically, you specify the android:minSdkVersion attribute in a <uses-sdk> element as a child of <manifest> in the manifest file. When set, the attribute looks like this:<manifest>
...
<uses-sdk minSdkVersion="2" />
...
</manifest> By setting android:minSdkVersion in this way, you ensure that users will only be able to install your application if their devices are running the Android 1.1 platform. In turn, this ensures that your application will function properly on their devices, especially if it uses APIs introduced in Android 1.1. if your application does not use any new APIs introduced in Android 1.1, you can indicate Android 1.0 compatibility by removing minSdkVersion or setting the attribute to "1". However, before publishing your application, you must make sure to compile your application against the Android 1.0 system image (available in the Android 1.0 SDK), to ensure that it builds and functions properly for Android 1.0 devices. You should test the application against system images corresponding to the API Levels that the application is designed to be compatible with.If you are sure your application is not using Android 1.1 APIs and has no need to use them, you might find it easier to keep working in the Android 1.0 SDK, rather than migrating to the Android 1.1 SDK and having to do additional testing.)
...
<uses-sdk minSdkVersion="2" />
...
</manifest> By setting android:minSdkVersion in this way, you ensure that users will only be able to install your application if their devices are running the Android 1.1 platform. In turn, this ensures that your application will function properly on their devices, especially if it uses APIs introduced in Android 1.1. if your application does not use any new APIs introduced in Android 1.1, you can indicate Android 1.0 compatibility by removing minSdkVersion or setting the attribute to "1". However, before publishing your application, you must make sure to compile your application against the Android 1.0 system image (available in the Android 1.0 SDK), to ensure that it builds and functions properly for Android 1.0 devices. You should test the application against system images corresponding to the API Levels that the application is designed to be compatible with.If you are sure your application is not using Android 1.1 APIs and has no need to use them, you might find it easier to keep working in the Android 1.0 SDK, rather than migrating to the Android 1.1 SDK and having to do additional testing.)
解决方案 »
- android怎么获取U盘路径
- 熟悉android按键读取,分发的进!!!
- 哪位兄台可以帮帮忙啊,做个拍照调图片库上传程序,小弟已经想了三天多了
- 【求助】怎么定义按钮数组
- 求助下-android开发:安装软件时才执行(或者说首次运行时才执行)的操作该写在哪呢?
- 什么情况下, 虚拟机会回收内存呢?
- 如何定义全局变量
- 我人品这么差什么问题都有,求帮助,好人一生平安
- android 实现连接网络打印机 实现打印 各位大大怎么做啊?
- requestPermissions如何同步回调onRequestPermissionsResult?
- 读取多种语言的string.xml
- 编译Eclair for Hero出错,不懂修复,请高手指教,拜谢
不过感觉兼容性,google本身的版本之间兼容性还算可以,但是好多厂商修改后的android,他们之间兼容性确实不行,都自己整加了接口
不行了,不行了,做j2ee是有时被强奸一次,做android每天都被android轮奸N次,都快撑不住了