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?
jesse
3
Seems like you need to put ~/Android/Sdk/platform-tools/adb on your PATH
How is it done? Thanks
My Path have this
/bin:/home/user/Android/Sdk/tools:/home/user/Android/Sdk/platform-tools:/opt/genymobile/genymotion/tools
#Configuration Android
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
#Configuration el Genymotion
export GENYMOTION=/opt/genymobile/genymotion
export PATH=$PATH:$GENYMOTION/tools
#Configuration Linuxbrew
PATH=“$HOME/.linuxbrew/bin:$PATH”
export MANPATH=“$(brew --prefix)/share/man:$MANPATH”
export INFOPATH=“$(brew --prefix)/share/info:$INFOPATH”