Error implementation files('libs/kiteconnect.jar') in android studio

sourav359
HI,
I am trying to add kiteconnect.jar as suggested. For that I kave place the jar in libs folder and write "implementation files('libs/kiteconnect.jar')" in app's build.gradle file within dependencies section. But it shows error at build as follows -
Duplicate class kotlin.ArrayIntrinsicsKt found in modules jetified-kiteconnect.jar (kiteconnect.jar) and jetified-kotlin-stdlib-1.3.72.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.72)
Duplicate class kotlin.BuilderInference found in modules jetified-kiteconnect.jar (kiteconnect.jar) and jetified-kotlin-stdlib-1.3.72.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.72)
Duplicate class kotlin.Deprecated found in modules jetified-kiteconnect.jar (kiteconnect.jar) and jetified-kotlin-stdlib-1.3.72.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.72)
Duplicate class kotlin.DeprecationLevel found in modules jetified-kiteconnect.jar (kiteconnect.jar) and jetified-kotlin-stdlib-1.3.72.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.72)
Duplicate class kotlin.DslMarker found in modules jetified-kiteconnect.jar (kiteconnect.jar) and jetified-kotlin-stdlib-1.3.72.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.72)
Duplicate class kotlin.ExceptionsKt found in modules jetified-kiteconnect.jar (kiteconnect.jar) and jetified-kotlin-stdlib-1.3.72.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.72)
........................

please help
  • sujith
    You need dependency libraries as well in your build path. You can check out all the required dependent libraries in the pom file.
Sign In or Register to comment.