在清单中的标签:“targetSdkVersion机器人”中的“project.properties”文件和“目标”设置之间的区别是什么?机器人、清单、区别、目标

2023-09-05 08:40:45 作者:如果夏天不复存在

它们有什么不同?或者他们一样吗?据我了解这两个界定什么SDK版本的应用程序应该根据其编制。

How do they differ? Or are they the same? As I understand both of these define what SDK version the app should be compiled against.

请帮忙澄清。在此先感谢

Please help to clarify. Thanks in advance

推荐答案

的的文档说

机器人:targetSdkVersion:此属性通知系统,你   已经测试针对目标版本和系统不应该   使任何兼容的行为,以维护您的应用程序   与目标版本向前兼容性。该应用程序是   仍可以在旧版本上运行。

android:targetSdkVersion: This attribute informs the system that you have tested against the target version and the system should not enable any compatibility behaviors to maintain your app's forward-compatibility with the target version. The application is still able to run on older versions

如果没有设置,默认值等于该给予的minSdkVersion。这表明市场将过滤装置较低的SDK。

If not set, the default value equals that given to minSdkVersion. Which indicates market will filter devices with lower sdk.

目标= Android的SDK版本在项目属性文件指示Eclipse将不会允许使用的方法或类的SDK高于   这一个。

target=android-sdk version in project properties file indicates Eclipse will not allow use methods or classes from sdk higher than this one.

IE浏览器。其中涉及到的开发环境和其他相关的Andr​​oid设备。

ie. One related to the development environment and other related to android devices.