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.....

https://img2.mukewang.com/5c9f0ece000162dc05850366.jpg

https://img.mukewang.com/5c9f0ece00016f0c04830800.jpg

https://img1.mukewang.com/5c9f0ecf0001650005850366.jpg

潇潇雨雨
浏览 703回答 2
2回答

ABOUTYOU

检查以下IP是否正确,dev settings里IP/PORT是否是你电脑的IP/PORT
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript