What is ADB?

Android Debug Bridge (ADB) is a command-line tool that provides communication between an Android device and the emulator/system. It can also be used to push files from or pull files onto your Android device, regardless of whether it’s connected via USB cable or over WiFi.

ADB does this by controlling a daemon running in background on the target machine – which you must first have installed remotely on either your system or one of our cloud servers as described below – called adbd.

The reason for this separation is because if left unchecked, invoking these commands could cause serious harm to your phone’s operating system!

Another way to use ADB is by running commands on the Android device itself. For example, if you’ve successfully connected an Android phone or tablet with your development machine via USB and have installed adb without requiring root privileges, then using this tool command should allow you to push a file (say in /tmp ), onto the handset where it resides at /sdcard/tmp.

The syntax for doing so would be: $adb push LOCAL_FILE REMOTE_PATH, where “LOCAL” is any path of a local directory containing a file on the host machine’s system that we wish to copy over into our mobile device and “REMOTESPATHS” refers specifically to the desired location within the Android device.

“LOCAL_FILE” is a specific file path from the host machine’s system that should be copied over to our mobile device, “REMOTE_PATH” specifies the desired location within the Android handset where we wish for this particular copy of LOCAL_FILE to reside at after it has been successfully transferred (i.e., “/sdcard/tmp”).

Scroll to Top