Android Question Removed Http and HttpUtilis2 library

Pesciolina

Active Member
Licensed User
Longtime User
Hello to all,
I have installed B4X in a new machine and am replacing HTTP and HttpUtils2 with OkHttp and OkHttpUtils2 in my projects.
In two projects everything went smoothly, while in a third very similar to the previous one I get a library not found error that blocks the loading of other libraries present.
If I insert the HttpUtils library this is marked as double. How can I solve the problem ?
 

Attachments

  • error_1.png
    error_1.png
    8.1 KB · Views: 82

Pesciolina

Active Member
Licensed User
Longtime User
these are the active libraries in the project and the errors that come out
actual_Library.png



error_log.png

if i add the HttpUtilis library in the libraries folder i get this error
error_httpUtils2Service.png
 
Upvote 0

Pesciolina

Active Member
Licensed User
Longtime User
as I wrote in two projects I replaced the libraries and everything worked, in this project very similar to the others by error
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
in this project very similar to the others by error
you wrote that you add httputils library and get a error. This is a mistake as you should NOT add it at all.

It is all inside okhttputils2 and okhttp. Maybe you still have a module httputils in your project? You should remove the module. Same applies for http.
 
Upvote 0

Pesciolina

Active Member
Licensed User
Longtime User
there are no modules, maybe something has messed up, I chose to create the project again and import one piece at a time. Thanks all the same for your availability
 
Upvote 0
Top