Android Question Error in OKHttpUtill

Bel

Member
Licensed User
Hi
I use OkHttpUtill in my project
I dont have any problem when i use relate library in other project
but in current project occur error when use it
The project's library is :
and error :
 

Bel

Member
Licensed User
I'm not Erel, but as it seems you have to Switch to a higher Version of Picasso.

As B4A compiles to Java you can do a Google search, too.
Oh i know you aren't Erel
I guest needed to new version picasso but there isn't new version in forum
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
do you have okhttp running or do you still use the old httputils? Edit; ok, due to your libs-list above you are still using the old httputils.

Maybe you just need to add okhttp reference when you compile.

Solution is probably: Swith to okHTTP and okHTTPUTILS
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I use OkHttpUtill in my project
I read you post again but carefully.

NO, there is NO okHTTP and there is no okhttputils in your libslist!
But Picasso is using okHTTP to download so you need to add it to your project.


39 and 40 are NOT the ok-Variants
 
Last edited:
Upvote 0

Bel

Member
Licensed User
I read you post again but carefully.

NO, there is NO okHTTP and there is no okhttputils in your libslist!
But Picasso is using okHTTP to download so you need to add it to your project.



39 and 40 are NOT the ok-Variants
No there is no OKHttp lib in list but when i add it to library and remove httputil2 then it get error
I dont have a new version picasso
if i can get new version picasso lib,my problem will solve
other way?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
attach sample project
The "old" picassonative.jar is not compatible

Solution: download a new picasso jar. i attach one

Edit picasso.xml and replace
<dependsOn>picassonative</dependsOn>
with
<dependsOn>picasso-2.5.2</dependsOn>
Run your sample again after you reloaded the libraries.
 

Attachments

  • picasso-2.5.2.jar
    117.6 KB · Views: 379
Upvote 0

Bel

Member
Licensed User
The "old" picassonative.jar is not compatible

Solution: download a new picasso jar. i attach one

Edit picasso.xml and replace

with

Run your sample again after you reloaded the libraries.
I test it,but again occur error.
error is :
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…