Hello i am new to react native and moble 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 o the button a to set yo andriod 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