Android Question Cannot find httputils2

prokli

Active Member
Licensed User
Longtime User
I want to run an quite old project which uses httputils2 library.
Unfortunately I have not saved httputils2 jar and xml files.
Where can I find them?
 

DonManfred

Expert
Licensed User
Longtime User
Where can I find them?
they are installed as internal libraries. Just update to 10.7. okhttputils2 is installed as a internal Library.
Edit: ohh, i just saw you are using the old library.
 
Last edited:
Upvote 0

prokli

Active Member
Licensed User
Longtime User
First I want to thank LucaMS. That is what I was looking for šŸ˜Š

Thanks Erel, I already tried to replace HttplUtils2 with OkHttpUtiles2.
In this case the variable declaration
Private httpjob2 As HttpJob:
does not generate error.
But while running compilation I get this error:

Generiere R Datei. (1.00s) Kompiliere Debugger-Code Error B4A line: 241 If Parameters.Length > 0 Then sb.Append(\ javac 1.8.0_281 shell\src\b4a\hud21\httpjob_subs_0.java:262: error: cannot find symbol if (RemoteObject.solveBoolean(">",httpjob._parameters.getField(true,"length"),BA.numberCast(double.class, 0))) { ^ symbol: method getField(boolean,String) location: variable _parameters of type parameters 1 error:

I suppose that this line of erroneous code is part of a library?!
 
Upvote 0

prokli

Active Member
Licensed User
Longtime User
In meantime I replaced httputils2 with OkHttpUtils2 and found why I got this strange error.
Inside my project I creatd an "Activity" namend "Parameters". This was the wrong way, since "parameter" seems to be used by the library.
 
Upvote 0
Top