react-native 启动服务器时候报错Could not install the app on the device, read the error above for details.
2016-10-13 16:24
1496 查看
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没有改成升级的版本号。
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没有改成升级的版本号。
相关文章推荐
- Could not install the app on the device, read the error above for details. Make sure you have an And
- Could not install the app on the device, read the error above for details. Make sure you have an And
- ReactNative Could not install the app on the device
- Mac环境下的React-Native环境配置流程(主要解决问题Could not install the app on the device)
- ReactNative Could not install the app on the device(Mac OS环境)
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- "无法启动Web服务器。Web服务器无法找到请求的资源" 或 "unable to start debugging on the web server.the web server could not find the request"解决方法
- Error:Could not determine the class-path for interface com.android.builder.model.NativeAndroidProjec
- 转载 "无法启动Web服务器。Web服务器无法找到请求的资源" 或 "unable to start debugging on the web server.the web server could not find the reques"
- No SDKs could be found for the IOS Device Platform, did you install the command line tools on your
- Could not read from System Tables. You must grant SELECT access on all system tables for the databas
- 启动Ambari报错: ERROR [ambari-client-thread-34] ContainerResponse:419 - The RuntimeException could not b
- 【iOS】Could not launch Verify the Developer App certificate for your account is trusted on your devic
- Install Hotfix for WSS(KB974989 x86) ERROR:The expected version of the product was not found on the system
- 启动eclipse时候提示错误Error:Could not create the Java Virtual Machine. Error:A Fatal exception has occurred
- #Redis Error #MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details a
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- Could not start the service on local computer. Error 1053: the service did not respond to the start or control request i
- IIS不能用,报错:Failed to execute request because the App-Domain could not be created. Error: 0×80070005 Access is denied
- Fix for Could not download the Silverlight application error