Using older Gradle Version
Hi, @pedroSG94!
I'm using your library on a project that needs older Gradle configuration. I need to use these parameters in order to keep compatibility.
ext.kotlin_version = '1.4.10' classpath 'com.android.tools.build:gradle:3.3.0'
distributionUrl=https://services.gradle.org/distributions/gradle-5.6.4-bin.zip
When I tried to import this library in my project, I got the following error.
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0.
I need to use older library version?
Hello,
You have 2 options:
- Update kotlin version
- Compile library manually with kotlin version 1.4.0 (you can create a fork and upload the project to jitpack if you want) If you want upload it to jitpack. You only need change library_group to your user name here: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/build.gradle After that, you can create a tag using github interface and upload will start automatically. You can check it in jitpack to know gradle to use.
@pedroSG94 , I'm getting this error: I already have 1.8.0
jetified-rtplibrary-2.2.4/jars/classes.jar!/META-INF/rtplibrary_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
What can I do?
Closing as inactive.