The weekend found some of the more useful Android development commonly used tools, most of them are often used by themselves, and some temporarily rarely used, for the time being recorded here, will certainly also be used frequently.
1 The SDK and AVD Manager
This tool is used to add and update the components of the Android SDK, such as the new API.
2 Android ADT
This is the Eclipse Android developer Search, which provides a visual integrated development environment for Android development.
3 Android DDMS
There is a debug tool in the Android SDK, Dalvik debug Monitor Server (DDMS). This tool provides port forwarding, screenshots, stacks, process information, logs, signal status information, analog calls, SMS, geo-location information, etc.
4 Logcat
This is the log system provided by Android. This system provides a mechanism for collecting and viewing system debug information. Different apps, the logs generated by different system components will be collected and stored together. We can use the Logcat command to filter and view the log information.
5 Hierarchy Viewer
This tool helps developers to debug and optimize the user interface. It generates a graphical presentation of the user interface structure of the app, and provides a magnified function of the display.
6 Zipalign
This tool can optimize Android program files (. apk), which can make the application run faster. In the Android platform, the data files stored in the APK file, can be multi-process access, if you have developed WIN32 may know the program's granularity alignment problem, good although not a PE format file, in the ZIP, the resource access can be better optimized for it, Instead, Zipalign uses a 4-byte boundary alignment to insinuate memory, improving execution efficiency through a space-time-shift approach.
7 Emulator
This is very simple, is the simulator!
8 Android Debug Bridge
Android Debug Bridge (ADB) is a generic command-line tool used to communicate with an emulator or an Android device connected to a computer.
Several commands commonly used by ADB
1. View the device
adb devices
This command is to view the currently connected device, the Android device connected to the computer, or the emulator will list the display
2. Installing the Software
adb install <apk文件路径>
This command installs the specified APK file on the device
3. Uninstalling the Software
adb uninstall <软件名>adb uninstall -k <软件名>
If you add the-K parameter, the software is uninstalled but the configuration and cache files are preserved.
4. Log in to the device shell
<command>
This command will log into the device's shell. Following command will be the direct running of the device command, equivalent to executing a remote command
5. Send files from the computer to the device
adb push <本地路径> <远程路径>
Use the push command to copy files or folders on your computer to your device (mobile)
6. Download files from the device to the computer
adb pull <远程路径> <本地路径>
Use the pull command to copy files or folders on your device (phone) to your local computer
7. Re-mount the file system
adb remount
8. Restart your phone
adb reboot
9. Reboot to Recovery interface
adb reboot recovery
10. Display Help information
adb help
This command will display the Help information
8 Common Android Development tools