Android 开发环境的构建方法总结
2010-03-26 15:58:00 来源:WEB开发网Min SDK Version(这个是设置程序希望运行在的系统版本)
==================================
Tips: 这里的Min SDK Version会根据我们选择的Build Target改变,
表示程序将运行在哪个系统版本之上,对应的数值关系如下:
Android 1.5:Level API 3
Android 1.6:Level API 4
Android 2.01:Level API 6
Android 2.1:Level API 7
我们这里选择Android 2.1,故Min SDK Version为7
==================================
This value specifies the minimum API Level required by your application. If the API Level entered here matches the API Level provided by one of the available targets, then that Build Target will be automatically selected (in this case, entering “2″ as the API Level will select the Android 1.1 target). With each new version of the Android system image and Android SDK, there have likely been additions or changes made to the APIs. When this occurs, a new API Level is assigned to the system image to regulate which applications are allowed to be run. If an application requires an API Level that is higher than the level supported by the device, then the application will not be installed.
Other fields: The checkbox for “Use default location” allows you to change the location on disk where the project’s files will be generated and stored. “Build Target” is the platform target that your application will be compiled against (this should be selected automatically, based on your Min SDK Version).
Notice that the “Build Target” you’ve selected uses the Android 1.1 platform. This means that your application will be compiled against the Android 1.1 platform library. If you recall, the AVD created above runs on the Android
更多精彩
赞助商链接