Android Official Command Introduction

Source: Internet
Author: User

Original: www.libgdx.cn
The Android SDK contains a variety of tools to help you create mobile apps based on the Android platform. These tools are generally divided into two categories: SDK tools and Platform tools. The SDK tools are standalone, independent of the Android version, and the Platform tool is designed to support the latest Android platform features.

SDK Tools

The SDK tools are installed in the Android SDK folder and are frequently updated. SDK tools are needed when you develop an Android app. The most important SDK tools include the Android SDK Manager,avd Manager,emulator and Dalvik Debug Monitor Server (DDMS). Some common SDK tools are described below.

Virtual Device Tools
    • Android Virtual Device MANAGER:AVD Manager provides a user graphical interface to help you create and manage Android virtual Devices (AVDs) that runs in a VM.
    • Android Emulator (Emulator): This is a QEMU-based device virtual tool that you can use to debug and test your app in a real Android runtime environment.
    • Mksdcard: Helps you create a disk image (which can be interpreted as a virtual SD card) that can be used on a virtual machine (emulator) to simulate an external memory card (such as an SD card).
Development tools (development tools)
    • Android: Can manage Avds, project and install SDK components.
    • Hierarchy Viewer (Hierarchyviewer): Provides a visual environment for layers such as linearlayout. With this tool you can clearly see the size of the layouts you write on different devices (even if not visible).
    • Lint:android Lint tool is a static code analysis tool that can monitor the Android project source code for potential bugs and optimization improvements.
    • SDK Manager: You can manage SDK packages, such as installing the Android SDK and system images.
    • Sqlite3: You can access the SQLite data files created and used by the Android app (why add Android app to create and use it?). Because the SQLite database created by the Android app contains special fields).
Debugging tools (Debugging Tools)
    • Adb:android Debug brideg (ADB) is a multi-purpose command-line tool. You can communicate with an Android virtual machine or connect to a real machine. It also provides access to advanced command-line operations on the device shell.
    • Dalvik Debug Monitor Server (DDMS): Debug Android App
    • Device monitor:android Device Monitor is a standalone tool that provides user graphical interfaces for debugging and analysis with multiple Android applications.
    • Dmtracedump: Generates a stack call graph for a graphical session based on the log log. This tool creates graphical output using the Graphviz dot tool, so you need to install Graphviz before running Dmtrackdump.
    • Hprof-conv: Convert the Hprof file generated by the Android SDK tool into a standard format. Easy to see.
    • Systrace: Analyze how your application works in the process of the system, making it easy to analyze and find problems.
    • TraceView: Provides a visual graphical interface to view your app's running logs.
(build tool) build tools
    • Jobb: Allows you to build encrypted and non-encrypted apk extension files in OBB format.
    • Proguard: By removing useless code, renaming classes, variables, and methods to compress, optimize, and blur your code.
    • Zipalign: Optimized apk file.
(Image tool) image tools
    • Draw 9-patch: Makes it easier for you to create a 9-patch graphic from the visual editor. It agrees to provide a preview of the graphic and highlight the content fill area.
    • Etc1tool: A tool that can convert PNG graphics to ETC1 compression. You can also convert ETC1 compression to PNG graphics.
    • Tracer for OpenGL es: allows you to capture OpenGL es commands and image frames to help you understand the execution state of your graphics commands.
Platform Tools

The platform tool is updated every time you install a new one. Each update to the Platform tool remains compatible with the old platform. Typically, you can use the ADB command directly.
Other platform tools include aidl,aapt,dexdump and DX, which are called through the Android build tool, so you rarely use them directly.
-Bmgr: A shell tool that you can interact with backup manager.
-Logcat: Provides a mechanism for collecting and viewing the debug output of the system.
(www.libgdx.cn All rights reserved, if need to reprint, indicate source)

Android Official Command Introduction

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.