WEB开发网
开发学院手机开发Android 开发 Android 开发环境的构建方法总结 阅读

Android 开发环境的构建方法总结

 2010-03-26 15:58:00 来源:WEB开发网   
核心提示:class that can run and do work. It can create a UI if it chooses, but it doesn’t need to. As the checkbox suggests, this is optional, but an Activity is almost
class that can run and do work. It can create a UI if it chooses, but it doesn’t need to. As the checkbox suggests, this is optional, but an Activity is almost always used as the basis for an application.

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

上一页  1 2 3 4 5 6 7 8  下一页

Tags:Android 开发 环境

编辑录入:coldstar [复制链接] [打 印]
赞助商链接