🐛 Bug Report
After I updated my targetSdkVersion from 27 to 28, I ran react-native run-android connected to an emulator and was presented with a screen stating "Unable to load script from assets 'index.android.bundle'. Make sure your bundle packaged correctly or you're running a package server."
To Reproduce
From a new or existing (functioning) React Native app, change the targetSdkVersion in android/build.gradle file to 28.
Expected Behavior
The app loads as it did before.
Environment
React Native Environment Info:
System:
OS: Linux 4.4 Ubuntu 16.04.5 LTS (Xenial Xerus)
CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Memory: 17.71 GB / 31.87 GB
Shell: 4.3.48 - /bin/bash
Binaries:
Node: 8.15.0 - ~/.nvm/versions/node/v8.15.0/bin/node
Yarn: 1.12.3 - /usr/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v8.15.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels: 23, 24, 25, 26, 28
Build Tools: 25.0.0, 28.0.3
System Images: android-28 | Intel x86 Atom_64
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.58.3 => 0.58.3
npmGlobalPackages:
react-native-cli: 2.0.1
🐛 Bug Report
After I updated my
targetSdkVersionfrom 27 to 28, I ranreact-native run-androidconnected to an emulator and was presented with a screen stating "Unable to load script from assets 'index.android.bundle'. Make sure your bundle packaged correctly or you're running a package server."To Reproduce
From a new or existing (functioning) React Native app, change the
targetSdkVersioninandroid/build.gradlefile to28.Expected Behavior
The app loads as it did before.
Environment