{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/16126","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/16126/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/16126/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/16126/events","html_url":"https://github.com/facebook/react-native/issues/16126","id":261271217,"number":16126,"title":"[Android 8.0] React Native not loading JS bundle","user":{"login":"kulmajaba","id":18167282,"avatar_url":"https://avatars3.githubusercontent.com/u/18167282?v=4","gravatar_id":"","url":"https://api.github.com/users/kulmajaba","html_url":"https://github.com/kulmajaba","followers_url":"https://api.github.com/users/kulmajaba/followers","following_url":"https://api.github.com/users/kulmajaba/following{/other_user}","gists_url":"https://api.github.com/users/kulmajaba/gists{/gist_id}","starred_url":"https://api.github.com/users/kulmajaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulmajaba/subscriptions","organizations_url":"https://api.github.com/users/kulmajaba/orgs","repos_url":"https://api.github.com/users/kulmajaba/repos","events_url":"https://api.github.com/users/kulmajaba/events{/privacy}","received_events_url":"https://api.github.com/users/kulmajaba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-28T10:37:01Z","updated_at":"2017-09-29T08:15:04Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n  PLEASE DON'T DELETE THIS TEMPLATE UNTIL YOU HAVE READ THE FIRST SECTION.\r\n-->\r\n\r\n### Is this a bug report?\r\n\r\nyes\r\n\r\n<!--\r\n  If you answered \"Yes\":\r\n\r\n    We expect that it will take you about 30 minutes to produce a high-quality bug report.\r\n    While this may seem like a lot, putting care into issues helps us fix them faster.\r\n    For bug reports, it is REQUIRED to fill the rest of this template, or the issue will be closed.\r\n\r\n-->\r\n\r\n### Have you read the [Contributing Guidelines](https://facebook.github.io/react-native/docs/contributing.html)?\r\n\r\nyes\r\n\r\n### Environment\r\n\r\n<!--\r\n  In your terminal run `react-native info` and paste its contents here. Next, specify your target platform, like this:\r\n-->\r\n\r\n  Environment:\r\n    OS:  Windows 8.1\r\n    Node:  6.11.3\r\n    Yarn:  1.0.2\r\n    npm:  5.4.2\r\n    Watchman:  Not Found\r\n    Android Studio:  2.3 AI-162.4069837\r\n\r\n  Packages: (wanted => installed)\r\n    react-native: 0.48.4 => 0.48.4\r\n    react: 16.0.0-alpha.12 => 16.0.0-alpha.12\r\n\r\n  Target Platform: Android Oreo (8.0)\r\n\r\n  Packager is running on port 8088\r\n\r\n### Steps to Reproduce\r\n\r\n<!--\r\n  How would you describe your issue to someone who doesn’t know you or your project?\r\n  Try to write a sequence of steps that anybody can repeat to see the issue.\r\n  Be specific! If the bug cannot be reproduced, your issue may be closed.\r\n-->\r\n\r\n1. Initialize a new RN project with `react-native init`\r\n2. Go to the project folder, start the development server and run `react-native run-android`\r\n\r\n### Expected Behavior\r\n\r\n<!--\r\n  How did you expect your project to behave?\r\n  It’s fine if you’re not sure your understanding is correct.\r\n  Just write down what you thought would happen.\r\n-->\r\n\r\nThe app should install and load the JS bundle, displaying the welcome text.\r\n\r\n### Actual Behavior\r\n\r\n<!--\r\n  Did something go wrong?\r\n  Is something broken, or not behaving as you expected?\r\n  Describe this section in detail, and attach screenshots if possible.\r\n  Don't just say \"it doesn't work\"!\r\n-->\r\n\r\nThe app installs correctly and starts, but doesn't load the JS bundle. Instead I get a white screen.\r\n\r\nThe packager is running on port 8088 so that gives an error on the first load. After running `adb reverse` I get the white screen. The packager does create a bundle.\r\n\r\nAlso tried with React Native 0.49.0-rc.6 and React 16.0.0-beta.5, same result. tested on Android emulator and Nexus 5X.\r\n\r\nLogs from react-natice log-android (note: the last 2 lines are after running `adb reverse tcp:8081 tcp:8088`):\r\n```\r\n09-28 13:23:45.557 26358 26358 D ReactNative: ReactInstanceManager.ctor()\r\n09-28 13:23:45.783 26358 26358 D ReactNative: ReactInstanceManager.createReactContextInBackground()\r\n09-28 13:23:45.784 26358 26358 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()\r\n09-28 13:23:45.851 26358 26358 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()\r\n09-28 13:23:45.851 26358 26358 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()\r\n09-28 13:23:45.852 26358 26358 D ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()\r\n09-28 13:23:45.887 26358 26417 D ReactNative: ReactInstanceManager.createReactContext()\r\n09-28 13:23:46.138 26358 26417 D ReactNative: Initializing React Xplat Bridge.\r\n09-28 13:23:46.140 26358 26417 D ReactNative: Initializing React Xplat Bridge before initializeBridge\r\n09-28 13:23:46.161 26358 26417 D ReactNative: Initializing React Xplat Bridge after initializeBridge\r\n09-28 13:23:46.161 26358 26417 D ReactNative: CatalystInstanceImpl.runJSBundle()\r\n09-28 13:24:10.108 26358 26358 D ReactNative: ReactInstanceManager.onJSBundleLoadedFromServer()\r\n09-28 13:24:10.114 26358 26358 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/333061985","html_url":"https://github.com/facebook/react-native/issues/16126#issuecomment-333061985","issue_url":"https://api.github.com/repos/facebook/react-native/issues/16126","id":333061985,"user":{"login":"laclance","id":10835285,"avatar_url":"https://avatars2.githubusercontent.com/u/10835285?v=4","gravatar_id":"","url":"https://api.github.com/users/laclance","html_url":"https://github.com/laclance","followers_url":"https://api.github.com/users/laclance/followers","following_url":"https://api.github.com/users/laclance/following{/other_user}","gists_url":"https://api.github.com/users/laclance/gists{/gist_id}","starred_url":"https://api.github.com/users/laclance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laclance/subscriptions","organizations_url":"https://api.github.com/users/laclance/orgs","repos_url":"https://api.github.com/users/laclance/repos","events_url":"https://api.github.com/users/laclance/events{/privacy}","received_events_url":"https://api.github.com/users/laclance/received_events","type":"User","site_admin":false},"created_at":"2017-09-29T08:15:03Z","updated_at":"2017-09-29T08:15:03Z","author_association":"NONE","body":"+1"}}
{"actor":{"display_login":"laclance"}}