The Problem
After updating the Android SDK, running adb devices threw:
| |
It turned out that I had previously installed android-platform-tools via Homebrew on my Mac, resulting in two different versions of adb on the system. The server and client were picking up different versions.
The Fix
First, remove the Homebrew-installed copy:
| |
Then add the Android SDK path to ~/.bashrc so the system uses a single adb:
| |
Finally, run source ~/.bashrc to apply the changes, then adb devices should work normally.
