Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native 使用运行react本机应用程序时出错wix@react-本地导航_React Native_Wix React Native Navigation - Fatal编程技术网

React native 使用运行react本机应用程序时出错wix@react-本地导航

React native 使用运行react本机应用程序时出错wix@react-本地导航,react-native,wix-react-native-navigation,React Native,Wix React Native Navigation,我安装了wix/react native导航,并遵循所有必需的配置,以便能够在android中使用react native导航。但是我的npm运行的android无法工作,即使我的脚本是在package.json中配置的 "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest", "lint": "eslint .", "android

我安装了
wix/react native导航
,并遵循所有必需的配置,以便能够在android中使用react native导航。但是我的
npm运行的android
无法工作,即使我的脚本是在package.json中配置的

"scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest",
    "lint": "eslint .",
    "android": "cd ./android && ./gradlew app:assembleDebug && ./gradlew installDebug"
  },

我的windows 10也有类似的问题,我所做的是删除“/”我有类似的问题

"scripts": {
  ...
  "android": "cd android && gradlew app:assembleDebug && gradlew installDebug"
}

你是linux的吗?
"scripts": {
  ...
  "android": "cd android && gradlew app:assembleDebug && gradlew installDebug"
}