Docsity

ADB command line for android platform, Study Guides, Projects, Research of Computer Science

Toggle sidebar
bg1
Android Debug Bridge ADB Tool
Command
Android packages ------- list package
-----
adb shell pm list packages
adb shell pm list packages -f See their associated file.
adb shell pm list packages -d Filter to only show disabled
packages.
adb shell pm list packages -e Filter to only show enabled
packages.
adb shell pm list packages -s Filter to only show system
packages.
adb shell pm list packages -3 Filter to only show third party
packages.
adb shell pm list packages -i See the installer for the packages.
pf3

Partial preview of the text

Download ADB command line for android platform and more Study Guides, Projects, Research Computer Science in PDF only on Docsity!

Android Debug Bridge ADB Tool

Command

Android packages ------- list package

adb shell pm list packages adb shell pm list packages -f See their associated file. adb shell pm list packages -d Filter to only show disabledpackages.

adb shell pm list packages -e Filter to only show enabledpackages.

adb shell pm list packages -s Filter to only show systempackages.

adb shell pm list packages -3 Filter to only show third partypackages.

adb shell pm list packages -i See the installer for the packages.

adb shell pm list packages -u Also include uninstalled packages. adb shell pm list packages --user <USER_ID> The user space toquery.

adb shell pm path----------

Print the path to the APK of the given . adb shell pm path adb shell pm path com.android.phone

adb uninstall-----------

Removes a package from the emulator/device. adb uninstall [options] adb uninstall com.test.app adb uninstall -k com.test.app Keep the data and cache directoriesaround after package removal.