ADB Tutorial

adb devices adb devices Prints a list of all attached emulator/device adb devices In response, return serial number and state Read more »
adb install adb install Pushes an Android application (specified as a full path to an .apk file) to an emulator/device. adb install [option] <path> adb install demo.apk adb install -l demo.apk forward lock application adb install -r Read more »
adb kill-server adb kill-server It will terminates the adb server process adb kill-server Notes: kill the server if it is running. (terminal adb.exe process) Learn more about ADB.. Read more »
adb forward adb forward forward socket connections adb forward <local> <remote> adb forward tcp:8000 tcp:9000 set up forwarding of host port 8000 to emulator/device port 9000 Read more about ADB Commands.. Read more »
adb start-server adb start-server starts the adb server process adb start-server Notes: starts the server if it is not running.   Read more about ADB.. Read more »
adb uninstall adb uninstall Removes a android package from the emulator/device. adb uninstall [options] <PACKAGE> adb uninstall com.test.appadb uninstall -k com.test.app Keep the data and cache directories around after package removal. Read more about ADB.. Read more »
adb connect adb connect use ADB over Wi-Fi adb connect <host>[:<port>] STEP 1. Connect to the device over USB. STEP 2. adb devices List of devices attached ######## device Notes: STEP 1,2 is required STEP 3. adb tcpip Read more »
adb usb adb usb restarting ADB in USB mode. adb usb   Read more about ADB.. Read more »
adb shell pm list packages adb shell pm list packages Prints all packages, optionally only those whose package name contains the text in <FILTER>. adb shell pm list packages [options] <FILTER> adb shell pm list packagesadb shell pm list packages Read more »
adb shell pm path adb shell pm path Print the path to the APK of the given <PACKAGE>. adb shell pm path <PACKAGE> adb shell pm path com.android.phone Read more about ADB.. Read more »