王氏的minSdkVersion 1.5存在的问题 [英] Problems wih minSdkVersion 1.5
问题描述
我们有相关的清单文件和财产安卓的minSdkVersion的问题。 问题是:如果我们的平台是2.0,我们使用属性安卓的minSdkVersion = 3(3 = SDK 1.5)显卡受到损坏时,(在细节上,应用程序的分辨率得到降低到2/3的部分原始大小的,这是,当分辨率应当是480x720,它在一个小320x480变)。这是发生在Android模拟器,并在设备的Droid /里程碑(这是平台2.0)。当我们切换属性安卓的minSdkVersion = 4(4 = SDK 1.6)的问题被解决,但是当我们希望把该版本在平台1.5,安卓不允许我们安装它。 这将帮助我们认识有关2.0 SDK,或周围的任何已知的问题,在图形冲突安卓的minSdkVersion,在清单
we have a problem related to the manifest file and the property "android:minSdkVersion". The issue is: If our platform is 2.0 and we use the property "android:minSdkVersion=3" (3 = sdk 1.5) the graphics get corrupted (In details, the application's resolution get reduced to a 2/3 part of the original size, this is, when the resolution should be 480x720, it becomes in a 320x480). This is happening on the Android emulator, and on the devices Droid/Milestone (Which are platforms 2.0). When we switch the property to "android:minSdkVersion=4" (4 = sdk 1.6) the problem gets solved, but when we want to put that version on platform 1.5, Android doesn't allow us to install it. It would help us to know any conflict regarding graphics within the 2.0 sdk, or any known problem around the "android:minSdkVersion" in the manifest.
谢谢!
推荐答案
如果您指定 targetSdkVersion
以及的minSdkVersion
你的应用程序将开始在所有平台上正常工作。
If you specify targetSdkVersion
as well as minSdkVersion
your application will start to work correctly on all platforms.
所以,在你的清单这样一个条目:
So have an entry in your manifest like this:
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/>
这是覆盖的 Android的API中级别的在Android开发者文档页。
This is covered in the Android API Levels page in the Android Developer documentation.
这篇关于王氏的minSdkVersion 1.5存在的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!