Skip to content

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

@Raduc4

Description

@Raduc4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions