Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not get unknown property 'providers' for settings of type org.gradle.initialization.DefaultSettings #173

Open
Raduc4 opened this issue Aug 14, 2024 · 0 comments

Comments

@Raduc4
Copy link

Raduc4 commented Aug 14, 2024

After following the migration guide I ended up with an error I can't solve.
Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'providers' for settings 'Ara' of type org.gradle.initialization.DefaultSettings.

It is caused in the settings.gradle file:

rootProject.name = 'Ara'
apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute(null, rootDir).text.trim(), "../native_modules.gradle");
applyNativeModulesSettingsGradle()

apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle");
useExpoModules()

include ':app'

When I comment this ./gradlew build works fine and returns Build Successful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant