1. ADB devices
2. ADB push/pull
Adb-s emulator-5554 Push 2.jpg/sdcard/
Adb-s emulator pull/sdcard/2.jpg./temp/22.jpg
3. ADB forward
ADB forward tcp:1080 tcp:1080//Port redirection redirect 1080 ports on the PC side to device-side 1080 ports
4. ADB start-server/kill-server
The computer end hit sever kill, through the ADB start-server restart, the general computer-side unresponsive, abnormal when the operation of this command
5.ADB Install/uninstall
ADB install mukewang.apk
ADB uninstall COM.OPEN.MOOC
How to view package names: After adb shell, execute
PM List Packages//list all package names
If you already have root privileges, you can:
cd/data/data/
LS//List all package names
6. Android command
-H//view Help
Android SDK//Start Android SDK
Android AVD//Start AVD simulator
Android Delete avd-n avdtest//delete AVD simulator
Android List//Android info details
Android Create Project
Android Create-n myandroid-p./myandroid-k (Specify package name) Com.mooc.myandroid-a M
Android Create test-project-m./androidtest-n
7. Monitor
Monitor//Start
Ddms:diavik Debug Monitor Service Mode monitoring tool
Ddms Interface Introduction
Hierarchy View Introduction
Introduction to ADB operational commands (ii)