Android debug bridge (adb)

a versatile command-line tool that lets you communicate with a device. - Home

Debug server

$ adb kill-server
$ adb start-server

Applications

How do I get an apk file from an Android device?

see also

# for system apps use -f -s to list path
$ adb shell pm list packages             # list
$ adb shell pm path com.example.someapp  # get path
# get it
$ adb pull /data/app/com.example.someapp-2.apk path/to/desired/destination

see also

Written on July 15, 2024, Last update on August 9, 2024
android debug-android