react-native-ssl-pinning icon indicating copy to clipboard operation
react-native-ssl-pinning copied to clipboard

No virtual method

Open shivika24 opened this issue 3 years ago • 1 comments

In Android:- canceled due to java.lang.NoSuchMethodError: No virtual method log(ILjava/lang/String;Ljava/lang/Throwable;)V in class Lokhttp3/internal/platform/Platform; or its super classes (declaration of 'okhttp3.internal.platform.Platform' appears in /data/app/com.projectName-bZAGCYEJRrSuAD6bH3bzMg==/base.apk!classes6.dex)

shivika24 avatar Jan 11 '22 09:01 shivika24

You can try to upgrade these libraries just fine.

implementation "com.squareup.okhttp3:okhttp:4.9.1"
implementation "com.squareup.okhttp3:logging-interceptor:4.9.1"
implementation "com.squareup.okhttp3:okhttp-urlconnection:4.9.1"

dev-ylyl avatar Jan 12 '22 07:01 dev-ylyl