Edit configurations --> 添加npm配置 -> commend改为help
Run External tool
通过命令终端找到React-native命令所在,终端输入which react-native,所得路径复制到Tool settings下的program,一般是 /usr/local/bin/react-native
Parameters填写run-ios,安卓填写run-android
working directory 填写 $ProjectFileDir$
网友评论