adb

An Alfred Workflow


Short Description

Android ADB

Last Updated

10 Jan 2019

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.3.0
 

Bundle ID

xyz.jienan.adb
 

Author

Categories

Applications

Tags

adb-alfred

logo

adb with alfred workflow

Keywords

adb, apk, avd

Dependencies

These dependencies are included in Android Studio and Android command line tools. link

Configurations

Add the path of the executable files of dependencies to workflow settings.

Here is a screenshot of my configurations.

Workflow config screenshot

What's required:

Name Value (example)
adb_path ~/Library/Android/sdk/platform-tools/adb
aapt_path ~/Library/Android/sdk/build-tools/28.0.3/aapt
emulator_path ~/Library/Android/sdk/tools/emulator

Features

  • adb to list connected devices

    • adb connect, adb disconnect adb restart can also be accessed from root level

list devices

  • select one connected device for device options

    • Input custom commands like shell dumpsys -l | grep wifi to execute directly in terminal

device options

  • select Show app list in device options to list and search in all installed applications

    • select one application to show package options

package options

  • select Install apk in device options to select APK or APKs on local drive for installation

    • adb install -t -d -g and bulk installation

install options

  • apk to search for local apk files, and check package info

  • avd to list installed emulators, select one to start an emulator

References

Screenshots