Open sarwanand24 opened 1 month ago
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 = 'Tiofy' include ':app' includeBuild('../node_modules/@react-native/gradle-plugin')
i have received same problem
I fixed it by deleting the node_modules folder and yarn.lock file, then running yarn to reinstall dependencies. This often clears up any conflicts. Let me know if this helps!
yarn
Settings file 'D:\Tiofy(All Services)\Tiofy\android\settings.gradle' line: 3 A problem occurred evaluating settings 'android'. > ERROR: autolinkLibrariesFromCommand: process cmd /c npx @react-native-community/cli config exited with error code: 1
Below is my settings.gradle file
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 = 'Tiofy' include ':app' includeBuild('../node_modules/@react-native/gradle-plugin')