React-Navigation 和安装错误和首次使用
React-Navigation and installation error and first-usage
我是 react-native 的新手,或者你可以说是 React 的新手,我正在研究 react-native 导航我已经按照 https://reactnavigation.org/docs/getting-started but when I am running my code it is giving an error as '@react-navigation/native could not be found within the project or in this directories.' What should I do is there any way to get started with my code? Help me
中的说明安装了所有必需的库
如果您已经按照本机 cli 指南安装了您的应用程序,您可能想尝试 运行ning
gradle clean
在您的 android 文件夹中,然后再次尝试在模拟器中 运行 您的应用程序。
在我使用 React Native 的第一步中,我遇到了同样的问题。 :-)
我是 react-native 的新手,或者你可以说是 React 的新手,我正在研究 react-native 导航我已经按照 https://reactnavigation.org/docs/getting-started but when I am running my code it is giving an error as '@react-navigation/native could not be found within the project or in this directories.' What should I do is there any way to get started with my code? Help me
如果您已经按照本机 cli 指南安装了您的应用程序,您可能想尝试 运行ning
gradle clean
在您的 android 文件夹中,然后再次尝试在模拟器中 运行 您的应用程序。
在我使用 React Native 的第一步中,我遇到了同样的问题。 :-)