在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/HTML5  HTML/ react native android failed to load JS b

react native android failed to load JS bundle

<!-- Describe your issue in detail. -->
Environment:
OS: macOS Sierra 10.12.6
Node: 8.3.0
Yarn: 0.27.5
npm: 5.5.1
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: ^16.3.0-alpha.0 => 16.3.1
react-native: 0.55.0 => 0.55.0

Steps to Reproduce

1:react-native init Test
2:cd Test
3:react-native run-andorid
use android virtual genymotion google nexus 6p-7.1.0

Expected Behavior

run normal like ios is ok.

Actual Behavior

if release is ok .

Unable to load script from assets 'index.android.bundle'.make sure you bundle is packaged correctly.....

clipboard.png
clipboard.png
clipboard.png

回答
編輯回答
空痕

因?yàn)閣atchman 原因
命令如下
rm -rf /usr/local/var/run/watchman/root-state
參考:https://github.com/facebook/r...

2017年5月11日 01:02
編輯回答
傻丟丟

檢查以下IP是否正確,dev settings里IP/PORT是否是你電腦的IP/PORT

2018年2月25日 15:42