hi every one i got this error any one here help to solver this
D:\RN\pro01>npx react-native run-android
info Installing the app...
Starting a Gradle Daemon (subsequent builds will be faster)
6 actionable tasks: 6 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit:
https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
ERROR: autolinkLibrariesFromCommand: process cmd /c npx @react-native-community/cli config exited with error code: 1
FAILURE: Build failed with an exception.
* Where:
Settings file 'D:\RN\pro01\android\settings.gradle' line: 3
tput.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
Note :
environment setup is correct i got this error just install react-navigation modules .
setting.gradle
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
plugins { id("com.facebook.react.settings") }
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
rootProject.name = 'pro01'
include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')
when i run this command :