How can I tell Expo which adb version to use?


After changing my adb version, I have started receiving an error in Expo:

Couldn't start project on Android: ADB server didn't ACK

I assumed it’s because my adb version is outdated, so I have installed Android SDK.

Now if I just run something like:

adb devices

I receive an error:

adb server is out of date.  killing...

(adb command still points to the old version)

But if I use the Android SDK’s version of adb:

~/Android/Sdk/platform-tools/adb devices

Everything works well.

Is there any way I can tell Expo to use the Android SDK version of adb?


Seems like you need to put ~/Android/Sdk/platform-tools/adb on your PATH

1 Like

How is it done? Thanks
My Path have this

#Configuration Android
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/platform-tools

#Configuration el Genymotion
export GENYMOTION=/opt/genymobile/genymotion

#Configuration Linuxbrew
PATH="$HOME/.linuxbrew/bin:PATH" export MANPATH="(brew --prefix)/share/man:MANPATH" export INFOPATH="(brew --prefix)/share/info:$INFOPATH"