directory structure and functions of the SDK

Source: Internet
Author: User

The directory structure of the SDK and its functions add-ons:
这里面保存着附加库,比如GoogleMaps,当然你如果安装OphoneSDK,这里也会有一些类库在里面。
Build-tools:
各个版本的sdk编译工具
Docs
这里面是Android SDK API参考文档,所有的API都可以在这里查到
Extras
扩展开发包 如高版本的API在低版本中开发使用.以及goole的驱动如usb_driver,webdriver,还有inter的模拟器加速器(需要自己进行安装,仅仅支持inter的cpu架构)
Platform
这里是每个平台的SDK真正的文件,里面会根据API Level划分的SDK版本,以Android2.2来说,进入后有一个android-8的文件夹,android-8进入后是Android2.2 SDK的主要文件data保存着一些系 统资源,images是模拟器映像文件,skins则是Android模拟器的皮肤,templates是工程创建的默认模板,android.jar则是该版本的主要framework文件。
Platform-tools:
通用工具,比如adb、和aapt、aidl、dx等文件,Android123提示,这里和platforms目录中tools文件夹有些重复,主要是从android2.3开始这些工具被划分为通用了。
Sources
android各个版本的api的源码(进行代码编译的时候可以ctrl + 左键 查看源码)
System-images:
模拟器映像文件。从android-14开始将模拟器映像文件整理在这里(原来放在platforms下)
Temp
临时夹,一般在SDK更新安装时用到。
Samples
Android SDK自带的默认示例工程,里面的apidemos强烈推荐初学者运行学 习,对于SQLite数据库操作可以查看NotePad这个例子,对于游戏开发Snake、LunarLander都是不错的例子,对于Android主 题开发Home则是androidm5时代的主题设计原理。
Tools
SDK根目录下的tools文件夹,这里包含了重要的工具,比如ddms用于启动Android调试工具,比如logcat、屏 幕和文件管理器,而draw9patch则是绘制android平台的可缩放png图片的工具,sqlite3可以在PC上操作SQLite数据库, 而monkeyrunner则是一个不错的压力测试应用,模拟用户随机按键,mksdcard则是模拟器SD映像的创建工具,emulator是 Android SDK模拟器主程序,不过从android 1.5开始,需要输入合适的参数才能启动模拟器,traceview作为android平台上重要的调试工具。
AVD Manager:
Android手机模拟配置工具,用于配置模拟器,只有先配置AVD才可运行模拟器。
SDK Manage:
SDK管理器,用于SDK更新、下载、删除。

directory structure and functions of the SDK

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.