Closed shellyaoo closed 2 months ago
We use the issue tracker exclusively for bug reports and feature requests.
This issue appears to be a general usage or support question.
Instead, please ask a question on Stack Overflow with the wix-react-native-navigation
tag or on Discord.
Just having the same issue right now. Did you find a way out @shellyaoo ?
The React Native Navigation version is 7.37.0 The node version is 20.13.0 The React version is 18.3.1 React Native version is 0.75.2 I want to create a tab bar using React Native Navigation However, when I installed it, running NPX RNN link encountered an error The error is as follows: exports.rootGradle = mainApplicationJava.replace(/android\/app\/.*.java/, "android/build.gradle");; ^ TypeError: Cannot read properties of undefined (reading 'replace')
I looked at the path.js file in the node_modules folder, and found that mainApplication Java obtained the MainApplication. java file. However, the files in my Android are MainApplication. kt and MainActivity. kt files, and there are no files related to the. java suffix. Therefore, the mainApplication Java variable obtained is undefined, I don't understand Android native. What should I do to use React Native Navigation in my project? Thank you