Update - This is fixed with the release of 0.18.1
Trying to run tutorial with Genymotion emulator.
- React Native 0.18
- OS X Yosemite
- Genymotion
react-native run-androidsucceeds. Following the training course, successfully launches the application in the emulator, until I get to this step:
var {
AppRegistry,
Image,
StyleSheet,
Text,
View,
} = React;
The application starts with a red screen of death ("Unable to download the JS package. Have you forgotten to start the development device ..."). Noting the following in the emergency packet logs:
React packager ready.
[1:31:52 PM] <END> Crawling File System (1102ms)
[1:31:52 PM] <START> Building in-memory fs for JavaScript
[1:31:54 PM] <END> Building in-memory fs for JavaScript (2263ms)
[1:31:54 PM] <START> Building in-memory fs for Assets
[1:31:56 PM] <END> Building in-memory fs for Assets (2149ms)
[1:31:56 PM] <START> Building Haste Map
[1:31:58 PM] <START> Building (deprecated) Asset Map
[1:31:59 PM] <END> Building (deprecated) Asset Map (742ms)
[1:31:59 PM] <END> Building Haste Map (2676ms)
[1:31:59 PM] <END> Building Dependency Graph (8194ms)
[1:32:09 PM] <START> request:/index.android.bundle?platform=android&dev=true
[1:32:09 PM] <START> find dependencies
[1:32:09 PM] <END> find dependencies (182ms)
[1:32:09 PM] <START> transform
transforming [========================================] 100% 393/394[1:32:44 PM] <START> request:/index.android.bundle?platform=android&dev=true
Note - hangs at 393/394 (although it says 100%).
I know this problem , resolved through adb reverse tcp:8081 tcp:8081, but I run the emulator and I don’t think it is applicable here.
React Native github, , - .
: React Native , .18, , , - .
, ...