First, I can build and run fine on both emulator and device (Pixel XL) just fine in Android Studio. I have come across several cases of this in other posts on git and stack overflow. None of the solutions have worked.
When I run expo start it opens the browser developer console for expo. When I click on “Run on Device/Emulator” . I get an error.
Starting Metro Bundler on port 19001.
WARNING 09:01 Couldn’t adb reverse: adb: error: unknown host service
ERROR 09:01 Couldn’t start project on Android: Error running adb: unknown host service
In command line “adb devices” lists my devices fine. When I run “adb usb” I get an error “error: unknown host service” . I assume this is the problem but I am having a hard time finding a solution.
I have tried completely uninstalling and reinstalling android studio and platform tools.
Expo CLI 3.4.1 environment info:
OS: macOS 10.14.6
Shell: 5.3 - /bin/zsh
Node: 12.9.1 - ~/.nvm/versions/node/v12.9.1/bin/node
npm: 6.12.1 - ~/.nvm/versions/node/v12.9.1/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Android Studio: 3.5 AI-191.8026.42.35.5977832
Xcode: /undefined - /usr/bin/xcodebuild
expo: ^35.0.0 => 35.0.1
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz => 0.59.8
On a side note: The slack registration is broke. When I fill out email and click the Im not a robot button and click Get Invite I get an error in the button “not_allowed_token_type”. In dev tools it looks like its trying and failing to call a socket.io connection in both Chrome and Firefox.