Skip to content

android cannot load latest bundle from url with RN 0.57.3 #21811

@sunny635533

Description

@sunny635533

Environment

React Native Environment Info:
System:
OS: macOS High Sierra 10.13.3
Binaries:
Node: 10.4.1 - /usr/local/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5014246
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.0-alpha.8af6728
react-native: 0.57.3

Description

i have a native app need to intergrate RN in it. I update RN version to 0.57.3, i cannot load bundle from url when i press Dev's reload button. It didnt load any view. Like this:

image

Wait a long time, it still didnt show anything.But it can load latest bundle when press R in IOS , only android didnt. I tried to set my host ip in Simulator ,also didnt work.
In android, i see some log at logcat :

image

my package.json:

image
image

So I decided to reduce my RN's version to 0.55.4.
All is normal! Android can load bundle from Dev's reload button. I guess the problem only occurs in RN 0.57. I hope to know why I cannot load bundle in android. Please tell me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPlatform: AndroidAndroid applications.Resolution: LockedThis issue was locked by the bot.Tech: Bundler 📦This issue is related to the bundler (Metro, Haul, etc) used.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions