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>
- Make sure ADB connect successfully
$ adb devices -l
List of devices attached
172.21.210.88:5555 device product:windows_x86_64 model:Subsystem_for_Android_TM_ device:windows_x86_64 transport_id:4
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
@TuKun33 i have a similar problem, solved when i changed .wslconfig file on windows user home folder
mine look like that
this last setting was what resolved it