Android developer Guide (3) -- Other Tools

Source: Internet
Author: User

 

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 –helpTo get help.

 

  Original

Http://developer.android.com/guide/developing/tools/othertools.html#android

Related Article

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.