프론트엔드/프론트엔드 이슈

리액트 네이티브 - device is offline 에러 해결

syleemomo 2023. 10. 19. 21:47
728x90

https://www.stackoverflowtips.com/2020/08/react-native-fix-adb-device-is-offline.html

 

React Native: Fix adb - device is offline error and Execution failed for task ':app:installDebug' and other

Android ADB device offline, can't issue commands Execution failed for task ':app:installDebug' ADB manager: unable to locate ADB 'adb' is not recogniz

www.stackoverflowtips.com

Open CMD(command prompt) and below commands in order

Kill the running ADB server using "adb kill-server"
Start ADB server using "adb start-server"
check running devices status using "adb devices"
if your device is offline then run following this command "adb  reconnect device"
728x90