I've migrated my project to AndroidX cause i was having some errors, but now i'm receiving a loop of errors that the androidX class has a different version from the compile:
Android dependency 'androidx.fragment:fragment' has different version for the compile (1.0.0-rc01) and runtime (1.1.0-alpha04) classpath. You should manually set the same version via DependencyResolution
And it's always a different a class, i've already tried implementing this code but every time i add a line it gives me other class different from the compile:
configurations.all {
resolutionStrategy {
force 'androidx.fragment:fragment:v4:1.1.0-alpha04'
}
}
./gradlew app:dependencies
to see which dependencies have the same dependency on different versions. In my case, it was Google services and Room.