0
我使用'react-native init'创建了一个react-native项目,但创建时没有错误,我使用的命令,在项目目录“作出反应本地运行的Android”这是我的了:虽然说Android模拟器运行或连接的Android设备,都一样会出现尽管有一个正在运行的模拟器(或连接的设备),但命令'react-native run-android'显示错误
throw er
^
Error: EIO: i/o error, read
at Object.fs.readSync (fs.js:675:18)
at Object.readSync (D:\myProjects\react-native\ReactTodoApp\node_modules\graceful-fs\polyfills.js:138:28)
at tryReadSync (fs.js:540:20)
at Object.fs.readFileSync (fs.js:575:19)
at Object.Module._extensions..js (module.js:645:20)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18).
同样的错误。
我需要知道这是什么解决方案。 我正在使用react-native 0.50.3,react-native-cli 2.0.1。