Summary of Android development and debugging tools

Android debugging tool, here is a summary.

DDMS -- Dalvik debug monitor service

Configure the simulator.

The ADB process Android debug bridge establishes a connection between eclipse and Android devices

@H_ 419_ 34@cmd Enter the DOS interface for ADB instruction operation.

ADB start server: start the ADB process ADB kill server: kill the ADB process ADB devices: view the devices currently connected to the development environment. This command can also start the ADB process ADB install XXX Apk: install APK ADB uninstall to the simulator package name: delete the application in the simulator ADB shell: enter the Linux command line

PS: view the running process LS: view the file structure in the current directory netstat - ano: view the process occupying the port

Sometimes the ADB cannot be started. It may be that the 503 port of the ADB is occupied by others. Netstat - ano checks the processes occupying the port and enters the task manager to kill the occupied processes.

@H_ 419_ 34@Logcat

@H_ 419_ 34 @ log information is divided into 5 levels * verbose: redundancy, lowest level, default * debug: debugging * Info: information of normal level * warn: warning * error: error

Select a level to view the information of this level and above.

Log. V (tag, "come on, children's shoes"); Black log D (tag, "come on, children's shoes"); Blue log I (tag, "come on, children's shoes"); Green log W (tag, "come on, children's shoes"); Orange log E (tag, "come on, children's shoes"); gules

Thank you for reading, hope to help you, thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>