Preface
This chapter is the developer Guide (Dev Guide)/Developing/Tools/android, version Android2.3 r1, translated from "Mobile cloud _ 文bin", welcome to its blog: "http://blog.csdn.net/caowenbin ", thanks again for "Mobile cloud _ Wenbin "! We look forward to your participation in translation of Android related information, contact me over140@gmail.com.
Statement
You are welcome to repost, but please keep the original source of the article :)
Blog Garden: http://www.cnblogs.com/
Android Chinese translation group: http://goo.gl/6vJQl
Body
Other Tools
This article describes other tools that can be used to develop Android applications.
All tools are located in<sdk>/tools/
Folder.
Android
Android is an important development tool:
* Create, delete, and view Android Virtual Devices (AVDs). For more information, see Android Virtual Devices.
* To create and update an Android project, see Developing in Other IDEs.
* To update the platform, plug-ins, and documentation of the Android SDK, see Adding SDK Components.
If you use Eclipse with the ADT plug-in as the development environment, you can directly use this tool in the IDE. Create an Android project In Eclipse. For details, see Developing In Eclipse. For details about how to update the SDK In Eclipse, see Adding SDK Components.
Mksdcard
The mksdcard tool can quickly create a FAT32 format disk image for the simulator to simulate the SD card in the mobile phone device. Usage:
mksdcard [-l label] <size>[K|M] <file>
The following table lists the commands/parameters:
Parameters |
Description |
-L |
Volume label of the disk image |
Size |
The size of the disk image to be created, in bytes. You can also add "K" or "M" letters after the size to specify KB or MB. For example:1048576K ,1024M . |
File |
Path and file name of the disk image |
After creating a disk image, you can use the-sdcard parameter to load it when starting the simulator. For more information, see Android Emulator.
emulator -sdcard <file>
Dx
The Dx tool can generate Android bytecode from the. class file. The tool converts the target file to a Dalvik executable (. dex format) file for running. It can also output information of class files and run unit tests in a recognizable format. Detailed usage can be useddx –help
To get help.
Original
Http://developer.android.com/guide/developing/tools/othertools.html#android