This tutorial will run on Ubuntu 20.04
- Install Android debug bridge (
adb
)
$ sudo apt install adb
- Connect to WSA
- Connect to WSA via IP
$ adb connect <wsa-ip:port>
- Make sure ADB connect successfully
$ adb devices
List of devices attached
172.19.99.153:5555 device
I'll follow tutorial on ReactNative.dev
# Assuming that you have Node 12 LTS or greater installed, you can use npm to install the Expo CLI command line utility
$ sudo npm install -g expo-cli
# Then run the following commands to create a new React Native project called "AwesomeProject"
$ expo init AwesomeProject
cd AwesomeProject
$ npm start # you can also use: expo start
For some reason, EXPO GO closes after trying to connect with port 19000, it gives a Java error, but after investigating, I think it may have to do with an option within the WSA settings that does not allow me to enable the wireless debugging option. It's a button that, no matter how much I press, it doesn't activate. Any other ideas?