ADB Bash Script Utilities

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 1

Dec 8, 2017 6:11:45 PM via Website

I've put together three main bash script utilities for Android Development.

The first script list all devices connected through adb and shows a basic way to loop through devices in adb.

The second script attempts to uninstall all instances of your app (by package name) on all devices. I'm seeing some weird issues with test packages being added when working with Android Studio, however overall the script has worked well most of the time but needs fine tuning.

The third script will connect a device wirelessly, one device at a time. I've been able to connect at least three at once.

I could use some help improving these scripts and getting feedback from the community. I also want to look into integrating these scripts into Android Studio.

Scripts can be downloaded at GitHub:

I also have some posts that relate to the github repo here: