Android - Android Debug Bridge (ADB)

Card Puncher Data Processing


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




Entering a remote shell:

adb [-d|-e|-s {<serialNumber>}] shell


  • -d means the usb device
  • -e an emulator
  • -s to enter a specific device.


adb devices
List of devices attached
010dfa948f964f70        device

adb -s 010dfa948f964f70  shell
bullhead:/ $

Discover More
Android Monitor Logcat
Android - (ADB) Logcat

Logs in Android debugging/debugging-logReading and Writing Logs You can use: Monitor or the command line tool to view logs. Monitor If you're overwhelmed by logs, you can stop...
Android Sync Project With Gradle
Android - Build (Gradle) / Run the app

Gradle is the build system that packages up and compiles Android Apps. Android Studio automatically generates Gradle files for your application, including: the build.gradle for your app and module ...
Android Studio Run Device Chooser
Android - Device

With , you get the list of device with the serial number. When you run your program, you can find back the serial number:
Card Puncher Data Processing
Android - Sqlite

sqlite supports in Android. Sqlites comes packaged with the Android OS as a C++ library. android/database/sqlite/SQLiteOpenHelperSQLiteOpenHelper. See udacity/Sunshine-Version-2/blob/sunshine_master/app/src/main/java/com/example/android/sunshine/app/data/

Share this page:
Follow us:
Task Runner