Skip to content

Error when syncing project unkwnown property '$androidxVersion' #2

@phillat

Description

@phillat

Please I get this error when syncing my project with the dependency. The error is given below.

Gradle sync failed: Could not get unknown property 'androidxVersion' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Update:
Fixed the issue by addding the specific version number of androidx.preference, that is, implementation "androidx.preference:preference:1.0.0". But still wondering wasn't the version number provided by $androidxVersion?

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