1.要自己下react-native start去開Server
修改位置 : node_modules\react-native\packager\react-packager\src\FileWatcher\index.js line 17 MAX_WAIT_TIME to 50000 or higher ,i'm test on window passed.
3.Note that this option is available on devices running android 5.0+ (API 21).
Run
You can use
adb reverse tcp:8081 tcp:8081
You can use
Reload JS
and other development options with no extra configuration
參考
react-native/LinuxWindowsSupport.md at master · facebook/react-native - https://goo.gl/fCYWDr
[android] windows npm start ERROR Watcher took too long to load · Issue #2841 · facebook/react-native - https://goo.gl/6BzW5C
Running On Device – React Native | A framework for building native apps using React - https://goo.gl/EpOlTc
Running On Device – React Native | A framework for building native apps using React - https://goo.gl/EpOlTc
留言
張貼留言
有什麼想法歡迎跟我們分享