npx react-native run-android在0.61版本中不起作用

问题描述 投票:0回答:2

从今天开始,我在运行项目..commandPrompt时遇到这样的错误。.

E:\FirstProject>npx react-native run-android
error Unrecognized command "run-android".
info Run "react-native --help" to see a list of all available commands.
react-native react-native-android
2个回答
0
投票

尝试react-native run-android而不使用npx


0
投票

只需打开两个终端控制台并运行

react-native start

和另一个

react-native run-android
© www.soinside.com 2019 - 2024. All rights reserved.