Are you brew install android-sdk ?
When starting react-native run-android I got the following error:
adb server version (36) doesn't match this client (39); killing... error: could not install *smartsocket* listener: Address already in use ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon Could not run adb reverse: Command failed: /Users/beau/Library/Android/sdk/platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
I found that I had adb installed on /usr/local/bin/adb :
$ ll /usr/local/bin/adb lrwxr-xr-x 1 beau admin 38 Mar 13 12:12 /usr/local/bin/adb@ -> ../Cellar/android-sdk/24.4.1_1/bin/adb
It was installed with brew install android-sdk and was never used, so I removed it:
brew uninstall android-sdk
... and the adb error went away when I ran react-native run-android again.
Beau smith
source share