react-native报错-unrecognized

来源:互联网 发布:linux iptables pat 编辑:程序博客网 时间:2024/06/09 15:02

引入第三方库  然后 react-native run-android 

报错Command run-android unrecognized. Make sure that you have run npm install and that you are inside a react-native project.

解决方案:在命令行中运行下面的命令。

yarn add react-native-cli
原创粉丝点击