Android - 将React Native View与Native App

时间:2016-11-23 10:03:12

标签: android react-native

我正在学习React Native,并按照Facebook手册将React Native“Hello World”视图集成到现有的原生应用中: https://facebook.github.io/react-native/docs/integration-with-existing-apps.html

我试图在设备,模拟器,Genymotion模拟器上运行,但无法通过那个恼人的死亡红屏:

React Native Blue Sceen of Death

终端日志:

npm start

reactnativeintegrationdemo@1.0.0 start 
/Users/username/Documents/Demo/ReactNativeIntegrationDemo
node node_modules/react-native/local-cli/cli.js start

Running packager on port 8081.

Looking for JS files in
/Users/username/Documents/Demo/ReactNativeIntegrationDemo 

[Hot Module Replacement] Server listening on /hot

React packager ready.
11/23/2016, 11:30:53 AM] <START> Initializing Packager
[11/23/2016, 11:30:54 AM] <START> Building in-memory fs for JavaScript
[11/23/2016, 11:30:55 AM] <END>   Building in-memory fs for JavaScript     
(1329ms)
[11/23/2016, 11:30:55 AM] <START> Building Haste Map
[11/23/2016, 11:31:00 AM] <END>   Building Haste Map (4617ms)
[11/23/2016, 11:31:00 AM] <END>   Initializing Packager (6539ms)
[11/23/2016, 11:48:57 AM] <START> Requesting bundle:    
{"url":"/index.android.bundle?platform=android&dev=true&hot=false"}
[11/23/2016, 11:48:57 AM] <START> Transforming modules

谢谢:)

0 个答案:

没有答案