-
Notifications
You must be signed in to change notification settings - Fork 584
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
change implementation "androidx.core:core-ktx:+"
to a specific version
#422
Comments
Quick for the teslamotors#422 issue
Same here, could you please change the version of |
As a workaround, in your configurations.all {
resolutionStrategy { force 'androidx.core:core-ktx:1.7.0-alpha01' }
} |
@aprilmintacpineda I did it and it is still failing when trying to build my pipeline. |
If I build in android studio or locally I have to change the build.gradle of react-native-camera-kit to implementation "androidx.core:core-ktx:1.6.0" instead of implementation "androidx.core:core-ktx:+" and then it works like a charm. Meanwhile in my CI workflow I can't change the dependency implementation of the androidx.core, so it fails... Tried to globally change the dependency implementation but didn't work |
This broke multiple projects for me as well. Adding the following snippet at the top of my app/build.gradle solves it: configurations.all {
resolutionStrategy { force 'androidx.core:core-ktx:1.6.0' }
} |
Apparently it solves it locally, but when you're building to a CI/CD pipeline, it keeps failing |
Are you sure this isn't a caching problem |
there is a workaround for this I upgraded my versions to 31 and its done |
Issue Description
a new version of
androidx.core:core-ktx
has just been released last September 1. The new version hastargetSdkVersion: 31
. When I tried to run my android app I got error message:This is because
implementation "androidx.core:core-ktx:+"
will install the latest release even though it may not yet be compatible with some other dependencies.https://androidx.tech/artifacts/core/core-ktx/1.7.0-alpha02
Steps to Reproduce / Code Snippets / Screenshots
N/A
Environment
The text was updated successfully, but these errors were encountered: