1. Installing APK Package Install Command: tools>adb install xxx.apk Enter
2. Uninstall apk package Uninstall command: TOOLS>ADB uninstall Com.cn.android [package name]
3, 1, view logcat information: tools>adb logcat
2, play Logcat information, save as TXT:TOOLS>ADB Logcat >abc.txt
4, press the stack Picture: tools>adb pull/sdcard/image/aaa.jpg c:/ Press the AAA image of the image directory under SDcard to the root of the C drive.
5. Use the ADB shell command:
(1) CD SDcard into the phone memory card
(2) Ls-l View the details of the files inside
(3) Ls-a View the information that contains hidden files, for example, a file that starts with a dot, possibly a system file
(4) Exit
(5) RM 11.png Delete 11 Images
(6) RM *.png Delete all PNG end pictures
6, under the Linux system, and sometimes connected to the mobile phone, DDMS do not recognize the solution:
To switch off the ADB devices with the root account, start it up:
(1) First Enter the root account: su
(2) Enter the password
(3) Enter Tools>sudo./adb kill-server Turn off the server service
(4) Enter Tools>sudo./ADB devices start the existing ADB service
7. Installing JDK steps under Linux system
(1) Download Jdk-6u15-linux-i586.bin file
(2)/usr/java into this directory
(3) First set password for root user: sudo-passwd 123456
(4) mkdir Java CD Java
(5) Modify permissions: chmod +x/home/zzd/downloads/jdk-6u15-linux-i586.bin
(6) Installing the JDK bin file:/home/zzd/downloads/jdk-6u15-linux-i586.bin
(7) Configure environment variables: Add the following environment variables to/etc/profile
Root access profile: sudo gedit/etc/profile
export java_home=/usr/java/jdk1.6.0_15
export android_java_home= $JAVA _home
path= $JAVA _home/bin:/android-sdk-linux_86/tools: $PATH
export classpath=.: $JAVA _ Home/lib/dt.jar: $JAVA _home/lib/tools.jar