Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: TypeError: undefined is not a function (evaluating 'remoteModules.forEach') (http://192.168.0.114:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7385)
at com.facebook.react.ReactInstanceManagerImpl.createReactContext(ReactInstanceManagerImpl.java:860)
at com.facebook.react.ReactInstanceManagerImpl.access$700(ReactInstanceManagerImpl.java:98)
at com.facebook.react.ReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(ReactInstanceManagerImpl.java:194)
at com.facebook.react.ReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(ReactInstanceManagerImpl.java:177)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
这个是因为react-native版本升级了,但是在项目的build.gradle没有改成升级的版本号。