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

Library has Kotlin runtime bundled into it #8

Closed
te0tl opened this issue May 9, 2018 · 3 comments
Closed

Library has Kotlin runtime bundled into it #8

te0tl opened this issue May 9, 2018 · 3 comments

Comments

@te0tl
Copy link

te0tl commented May 9, 2018

If I use the jar in an Android Studio project I have the following issue:

...app/libs/emv-bertlv-0.1.7-shaded.jar: Library has Kotlin runtime bundled into it  

It's a compile error because the jar it has the runtime libs of kotlin.

"Please note that you should not include kotlin-runtime and kotlin-stdlib jars with your plugin because Kotlin guarantees backward- and forward- binary compatibility."

http://www.jetbrains.org/intellij/sdk/docs/tutorials/kotlin.html

I hope you can fix it or provide a version without the dependency (an not executable version), and thank you so much for the amazing lib.

@NooAn
Copy link

NooAn commented Jul 23, 2018

Yes, I have the same trouble.

@NooAn
Copy link

NooAn commented Jul 25, 2018

So, I found a solution to the problem. I miss extending DexApplication in my release App class.

@wcurrie
Copy link
Contributor

wcurrie commented Jul 25, 2018

Hi. I haven't worked on this in ages. Maybe try using non shaded version of the .jar https://repo1.maven.org/maven2/io/github/binaryfoo/emv-bertlv/0.1.7/emv-bertlv-0.1.7.jar

@wcurrie wcurrie closed this as completed Dec 1, 2018
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

3 participants