payu-intrepos / payu-non-seamless-react

Non-Seamless SDK for React Native
5 stars 9 forks source link

Crashing on android debug mode #11

Open ravindranpandu opened 3 years ago

ravindranpandu commented 3 years ago

Hi,

I am trying to integrate it to our react-native app, the iOS seems to work fine whereas the app crashes when the app opens in android, tried to logcat the error and found the error below.

E AndroidRuntime: java.lang.NoSuchMethodError: No static method delimiterOffset(Ljava/lang/String;IILjava/lang/String;)I in class Lokhttp3/internal/Util; or its super classes (declaration of 'okhttp3.internal.Util')

Not quite sure what is the issue here, a little help would be appreciated.

Thanks: 🙏

himgupta229 commented 3 years ago

It might be happening because multiple dependencies of okhttp module exists in your project.Can you share the dependencies which you are using in your project?As it would help in checking which other dependency is using different version of okhttp.