About
Android Debug Bridge (adb) is a command line tool that communicate with:
- an emulator instance
- or connected Android-powered device.
When building (pushing) the app, ABD install and starts the application.
# App installation
adb install - r /app/build/apk/...
# App start
adb shell am start -n com.example.myapp
Articles Related
Location
SDK_HOME/platform-tools/adb.exe
Shell
Entering a remote shell:
adb [-d|-e|-s {<serialNumber>}] shell
where:
- -d means the usb device
- -e an emulator
- -s to enter a specific device.
Example:
adb devices
List of devices attached
010dfa948f964f70 device
adb -s 010dfa948f964f70 shell
bullhead:/ $