我试图在我的应用程序中实现react native导航。
我使用react-native:0.58.4和react-native-cli:2.0.1
我使用了本教程:https://wix.github.io/react-native-navigation/#/docs/Installing?id=_1-add-the-following-in-androidsettingsgradle,但控制台返回的错误日志如下:
Error: Command failed: gradlew.bat installDebug
at checkExecSyncError (child_process.js:616:11)
at Object.execFileSync (child_process.js:634:13)
at runOnAllDevices (C:\Users\xxx\Desktop\yyy\node_modules\react-native\local-cli\runAndroid\runAndroid.js:299:19)
at buildAndRun (C:\Users\xxx\Desktop\yyy\node_modules\react-native\local-cli\runAndroid\runAndroid.js:135:12)
at isPackagerRunning.then.result (C:\Users\xxx\Desktop\yyy\node_modules\react-native\local-cli\runAndroid\runAndroid.js:65:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
怎么了?