Текст ошибки
Could not connect to development server. Try the following to fix the issue: • Ensure that Metro is running • Ensure that your device/emulator is connected to your machine and has USB debugging enabled
Could not connect to development server. Try the following to fix the issue: • Ensure that Metro is running • Ensure that your device/emulator is connected to your machine and has USB debugging enabled
Debug-приложение не может связаться с сервером разработки (Metro). Сервер выключен, порт закрыт или устройство в другой сети.
npx react-native start.adb reverse tcp:8081 tcp:8081.npx expo start --tunnel.adb reverse tcp:8081 tcp:8081 npx react-native start --port 8081 adb devices npx expo start --tunnel
Не давай другим программам занимать тот же порт; запускай Metro в отдельном терминале.
Автор и лицензия: Nibras Code