› Metro waiting on exp://172.31.15.204:8081 › Scan the QR code above
with Expo Go (Android) or the Camera app (iOS)› Web is waiting on http://localhost:8081
› Using Expo Go › Press s │ switch to development build
› Press a │ open Android › Press w │ open web
› Press j │ open debugger › Press r │ reload app › Press m │ toggle
menu › shift+m │ more tools › Press o │ open project code in your
editor› Press ? │ show all commands
解决办法
这会把 Metro 监听的端口从默认的 8081 改为 8080。
RCT_METRO_PORT=8080 npx expo start