duplicate classes Kotlin getting this error in kite connect API

finaureus
Duplicate class kotlin.ArrayIntrinsicsKt found in modules jetified-kiteconnect (kiteconnect.jar) and jetified-kotlin-stdlib-1.4.10 (org.jetbrains.kotlin:kotlin-stdlib:1.4.10)
Duplicate class kotlin.BuilderInference found in modules jetified-kiteconnect (kiteconnect.jar) and jetified-kotlin-stdlib-1.4.10 (org.jetbrains.kotlin:kotlin-stdlib:1.4.10)
Duplicate class kotlin.Deprecated found in modules jetified-kiteconnect (kiteconnect.jar) and jetified-kotlin-stdlib-1.4.10 (org.jetbrains.kotlin:kotlin-stdlib:1.4.10)
Duplicate class kotlin.DeprecationLevel found in modules jetified-kiteconnect (kiteconnect.jar) and jetified-kotlin-stdlib-1.4.10 (org.jetbrains.kotlin:kotlin-stdlib:1.4.10)
Duplicate class kotlin.DslMarker found in modules jetified-kiteconnect (kiteconnect.jar) and jetified-kotlin-stdlib-1.4.10 (org.jetbrains.kotlin:kotlin-stdlib:1.4.10)
Duplicate class kotlin.ExceptionsKt found in modules jetified-kiteconnect (kiteconnect.jar) and jetified-kotlin-stdlib-1.4.10 (org.jetbrains.kotlin:kotlin-stdlib:1.4.10)
Duplicate class kotlin.ExceptionsKt__ExceptionsKt found in modules jetified-kiteconnect (kiteconnect.jar) and jetified-kotlin-stdlib-1.4.10 (org.jetbrains.kotlin:kotlin-stdlib:1.4.10)
Duplicate class kotlin.Experimental found in modules jetified-kiteconnect (kiteconnect.jar) and jetified-kotlin-stdlib-1.4.10 (org.jetbrains.kotlin:kotlin-stdlib:1.4.10)

While integrating kite connect API jar in Android getting above errors, we are building a Android App to execute strategy created by us using kite connect API.
please help me with above issue.

  • sujith
    This could be because of the kotlin dependency of the javakiteconnect.
    You may have to fork the library and modify it to use it in the android app.
  • finaureus
    finaureus edited December 2020
    from where I can fork the javakiteconnect library. please provide the link and it would more helpful if you have already forked library link
  • sujith
    You can fork the library from here.
Sign In or Register to comment.