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

Error in compilation #36

Closed
miguelmanas93 opened this issue Jun 3, 2021 · 4 comments
Closed

Error in compilation #36

miguelmanas93 opened this issue Jun 3, 2021 · 4 comments

Comments

@miguelmanas93
Copy link

Since today, for no reason, the library has stopped working and it always gives me an error, I have spent hours with the project to see what was failing until I finally discovered that it was this ... check it

/.gradle/caches/transforms-2/files-2.1/73a03b94eee9f632e5fc0cdc50cafb02/jetified-kotlin-stdlib-1.5.10.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.

@nedimf
Copy link
Owner

nedimf commented Jun 3, 2021

According to StackOverflow post. This isn't problem with library. Issue is in Gradle it self.

Try upgrading Gradle.

I'll be closing this issue because it's not related to library it self.

@nedimf nedimf closed this as completed Jun 3, 2021
@miguelmanas93
Copy link
Author

It is completely related to the library, if I deactivate the library, the project compiles, if I activate it, it does not compile and gives an error. Therefore what fails is the module of this library when inserting it in the gradle. Everything is up to date

@nedimf
Copy link
Owner

nedimf commented Jun 4, 2021

@miguelmanas93 did you try increasing ext.kotlin.version to latest 1.43.2, referencing this

@miguelmanas93
Copy link
Author

miguelmanas93 commented Jun 4, 2021

@miguelmanas93 did you try increasing ext.kotlin.version to latest 1.43.2, referencing this

Not work this

Solution
Finally, I downloaded the library and inserted the module myself, you have to change the gradle of the module as follows

change this: implementation "androidx.core:core-ktx:+"

by implementation "androidx.core:core-ktx:1.2.0"

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

2 participants