Android Debug Bridge (ADB) allows you to connect your development workstation directly to your Android device so you may install packages and evaluate your changes.
Confirm you have ADB
To confirm you have the ADB binary, run the following command in a terminal:
If you have adb installed, you will see its version in the output.
If you don't yet have ADB, build Android. In summary:
- Check out the Android source code.
Set up your environment and build Android:
source build/envsetup.sh lunch <target> m
Enable USB debugging
Now enable USB Debugging on the Android device to allow the connection. You will also be prompted when plugging the device into your machine.