What is the Android Debug Bridge (ADB)?

This tests practical command-line proficiency and understanding of the host-device link. A good answer defines the client-server-daemon architecture and gives two commands like adb install and adb logcat.
What's really being asked
This question assesses your hands-on, day-to-day development experience. It's not theoretical. The interviewer wants to know if you're comfortable and efficient with the core command-line tools for debugging, deploying, and inspecting Android devices, and if you understand the architecture that makes it all work.
The full answer
First, define ADB as a versatile command-line tool that enables communication with a device. Crucially, mention its three components: a client (on your dev machine), a daemon (adbd, running on the device/emulator), and a server (running on your dev machine) that manages communication between the client and the daemon. Second, give a deployment command like adb install [path_to_apk], explaining that it pushes an APK to the device and installs it. Mentioning the -g flag to grant all runtime permissions is a great senior-level detail. Third, give a debugging command like adb logcat, explaining that it streams log output. A strong answer will mention filtering, for example adb logcat YourAppTag:W *:S to show only warnings from your app and silence others. Finally, mentioning an advanced command like adb shell dumpsys activity or adb reverse demonstrates deeper expertise.
The mistakes people make
The most common red flag is GUI-only knowledge, where a candidate says, "I just click the 'Run' button in Android Studio." This shows a lack of understanding of the underlying tools. Another wrong answer is giving a vague definition like "it's a tool to connect to your phone" without mentioning the client-server-daemon architecture. Finally, fumbling the syntax for basic commands like install or logcat suggests a lack of practical experience.
What usually comes next
Expect questions like: "How would you use ADB to pull a file from the device?" (Answer: adb pull /sdcard/some_file.txt .). Or, "You need to debug a network request to a localhost server on your dev machine. How can ADB help?" (Answer: adb reverse tcp:8080 tcp:8080). Another common one is, "How do you connect to a device over Wi-Fi?" (Answer: adb tcpip 5555, then adb connect <device_ip_address>:5555).
A concrete example
To debug a crash on a specific QA device without an attached debugger, you would connect it and run adb logcat -c to clear old logs. After reproducing the crash, run adb logcat -d > crash_log.txt. This dumps the entire log buffer to a file. You can now search that text file for the "FATAL EXCEPTION" string to find the exact stack trace and pinpoint the cause, which is much faster than trying to set up a remote debugging session.
Interview question
In the Android Debug Bridge (ADB) architecture, what is the main role of the 'server' component?
- a.To execute commands directly on the connected Android device.
- b.To manage communication between the client and the device's daemon.Correct
- c.To provide the command-line interface for developers.
- d.To offer a graphical interface for device management.
Why? this is the answer
The card states the server's role is to manage communication between the client (on the dev machine) and the daemon (on the device). Option A describes the daemon, while option C describes the client.
Just read this? Test yourself on what you have been reading.
Read the original → developer.android.com
- #android
- #adb
- #debugging
- #tools
You just looked this up. Could you explain it out loud?
That is the part interviews actually test. Tezvyn takes questions like this one and gives you what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.
The iPhone app is on the way
We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.
Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.
We are hiring for this. Open roles that interview on android — each one lists the topics its interview covers.
See open roles