I am new to React Native and Mobile App Development. I am trying to start up my bare React Native project in my Emulator and it gives me issue to set up.
I get this error when I click on the button a to set to Android Emulator from my command terminal
Couldn't adb reverse: adb.exe: error: device offline Couldn't start project on Android: Error running adb: device offline
please how do I fix it
here is my system variable C:\Users\JUWONCALEB.DESKTOP-CMA289U\AppData\Local\Android\Sdk
CodePudding user response:
running adb devices after running adb kill-server. Security question pops up after that. Worked for me.
CodePudding user response:
1/ run npm start
2/ go to http://localhost:19002
3/ press on Lan and copy the URL under it eg. exp://192.168.1.3:19000
4/ download expo app in your device from your android studio.
5/ open expo and click Enter URL manually
and paste the URL u copied in the previous step
6/ if needed: reload by clicking "r" button in your command line
CodePudding user response:
Try to:
1 Launch the android emulator (any sdk is fine as any model)
2 open the settings IN the emulator
3 activate developer mode