Including the library mentioned in https://github.com/zerodhatech/javakiteconnect. Kiteconnect.jar in Android app throws duplicate dependency errors. Duplicate Modules - okhttp3, okio, gson Mostly it is because I have retrofit included as well. Can you please suggest me how shall one go about solving this ?
But I am not able to use Retrofit post this change - Error - java.lang.NoSuchMethodError: No static method get(Ljava/lang/String;)Lokhttp3/HttpUrl; in class Lokhttp3/HttpUrl; or its super classes (declaration of 'okhttp3.HttpUrl'....)
Thanks.
Error - java.lang.NoSuchMethodError: No static method get(Ljava/lang/String;)Lokhttp3/HttpUrl; in class Lokhttp3/HttpUrl; or its super classes (declaration of 'okhttp3.HttpUrl'....)
Have you resolved specified error? I'm facing the exact same error in Android app.