Android Debugging Tools, here is a summary of the finishing.
DDMS --Dalvik Debug Monitor Service
Configure the emulator.
ADB process Android Debug Bridge establishes a connection between Eclipse and Android devices
CMD into the DOS interface, the ADB command operation.
ADB start-server: Start adb process
ADB kill-server: Killing the ADB process
ADB devices: View the device that is currently connected to the development environment, and this command can also start the ADB process
ADB install xxx.apk: Installing APK to Simulator
ADB Uninstall Package Name: Removing the application in the simulator
ADB shell: Go to linux command line
PS: View the running process
LS: View the file structure under the current directory
Netstat-ano: View the process of seizing ports
Sometimes the ADB is not launched, it may be that the ADB's 503 ports are occupied by someone else, Netstat-ano to view the process of seizing ports and entering task Manager to kill the occupied process.
Logcat
Total log information is divided into 5 levels
* Verbose: Redundancy, lowest level, default
* Debug: Debug
* Info: Information of normal level
* Warn: Warning
* ERROR: Wrong
Select a level to view information for that level and above.
- Define filters for easy viewing.
- The log level of the System.out.print output is Info,tag is System.out
- Android provides log output api:tag can be defined by itself
LOG.V (TAG, "Come on, children's Shoes");
LOG.D (TAG, "Come on, children's Shoes");
LOG.I (TAG, "Come on, children's Shoes");
LOG.W (TAG, "Come on, children's Shoes"); orange
LOG.E (TAG, "Come on, children's Shoes");
Thank you for reading, I hope to help you, thank you for your support for this site!