Official Android commands and official android commands

Source: Internet
Author: User
Tags libgdx android sdk manager

Official Android commands and official android commands

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

SDK tools

The SDK tool is installed in the Android SDK folder and is updated frequently. SDK tools are required when you develop Android applications. The most important SDK tools include Android SDK Manager, AVD Manager, emulator, and Dalvik Debug Monitor Server (DDMS ). The following describes some common SDK tools.

Virtual Device Tool
  • Android Virtual Device Manager: AVD Manager provides a graphical user interface to help you create and manage Android Virtual Devices (AVDs) running on Virtual machines ).
  • Android Emulator (emulator): This is a virtual device Tool Based on QEMU. You can debug and test your application in the real Android runtime environment.
  • Mksdcard: helps you create a disk image (which can be understood as a virtual SD card) for a virtual machine (emulator) to simulate an external memory card (such as an SD card ).
Development Tools)
  • Android: You can manage AVDs, projects, and install SDK components.
  • Hierarchy Viewer: provides a visual environment for layers (such as LinearLayout. With this tool, you can clearly see the size of the layout you write on different devices (even if not visible ).
  • Lint: the Android lint tool is a static code analysis tool that can monitor potential bugs and improve optimization in the Android project source code.
  • SDK Manager: Manages SDK packages, such as installing Android SDK and system images.
  • Sqlite3: You can access SQLite data files created and used by Android applications (Why do Android applications be added for creation and use? Because the sqlite database created by the Android application contains special fields ).
Debugging Tools)
  • Adb: Android Debug Brideg (adb) is a multi-purpose command line tool. It can communicate with the Android virtual machine or connect to the real machine. It also provides the permission to access the shell advanced command line operation of the device.
  • Dalvik Debug Monitor Server (DDMS): Debug Android applications
  • Device Monitor: Android Device Monitor is an independent tool that provides a graphical interface for debugging and Analysis of applications and multiple Android applications.
  • Dmtracedump: generates a stack call Image Based on the log. This tool uses Graphviz Dot to create graphical output. Therefore, you need to install Graphviz before running dmtrackdump.
  • Hprof-conv: Convert the HPROF file generated by the Android SDK to a standard format. Easy to view.
  • Systrace: analyzes the running status of your application in the system process for easy analysis and troubleshooting.
  • Traceview: provides a visual graphical interface to view your application running logs.
(Build tool) Build Tools
  • JOBB: allows you to build Encrypted and unencrypted APK extension files in OBB format.
  • ProGuard: compress, optimize, and blur your code by deleting useless code, renaming classes, variables, and methods.
  • Zipalign: optimizes the apk file.
(Image Tools) Image Tools
  • Draw 9-patch: allows you to easily create a 9-patch graph using the visual editor. It agrees to provide a preview of the image and highlight of the content filling area.
  • Etc1tool: a tool that converts PNG images into ETC1 compression. You can also compress ETC1 into PNG images.
  • Tracer for OpenGL ES: allows you to capture OpenGL ES commands and image frames to help you understand the execution status of your graphics commands.
Platform Tool

The platform tool is updated every time you install a new tool. Every time the platform tool is updated, it remains compatible with the old platform. Generally, you can directly use the adb command.
Other platform tools include aidl, aapt, dexdump, and dx. They are called using Android build tools, so you rarely use them directly.
-Bmgr: A shell tool that allows you to interact with Backup Manager.
-Logcat: provides a mechanism for collecting and viewing system debugging output.
(Www.libgdx.cn is copyrighted. If you need to reprint it, indicate the source)

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.