B4J Question okhttp-2.4.0.jar not found

tufanv

Expert
Licensed User
Longtime User
Hello,

In one of my computers I started getting this error : Altough okhttp is enabled on the right side.I cant find this file. Where can i find it ?

Thanks
 

tufanv

Expert
Licensed User
Longtime User
It is inside the INTERNAL library folder. Usually you have a newer version installed with B4J 5.8+

So: which libraries are you using inside your app?
Check if one of them refering to an old okhttp jar
Thanks for answer.
okhttp 1.20 and jokhttputils 2.20 is enabled.

That file is not in internal libraries folder , but it is not also in my other computer's internal libraries fodler but it works there.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
I have both files in my internal libs folder an at the project these are enabled:



As far as I remember I didnt change anyhing from libraries folder.


You are using an old version of OkHttp.jar or OkHttpUtils2.jar.

Both libraries depend on okhttp-3.5.0.jar and okio-1.11.0.jar which are preinstalled with the IDE.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
I accidentally added another set of jokhttputils to my additional libs folder , that was the problem , it was overwriting the internal folder. Thanks !!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…