J Juzer Hussain Active Member Licensed User Longtime User Mar 17, 2023 #1 Hi, In one of my projects i have used HTTPUtils2 service code module. When I add SMM from library code doesn't compile says duplicate HTTPUtils2Service either remove from library or from module. I want the HttpUtils2 module. Is there any recent versio of SMM which does not clash with Http.... service. Pls give some clue. Thanks
Hi, In one of my projects i have used HTTPUtils2 service code module. When I add SMM from library code doesn't compile says duplicate HTTPUtils2Service either remove from library or from module. I want the HttpUtils2 module. Is there any recent versio of SMM which does not clash with Http.... service. Pls give some clue. Thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2023 #2 Juzer Hussain said: I want the HttpUtils2 module Click to expand... Why??? Upvote 0
J Juzer Hussain Active Member Licensed User Longtime User Mar 19, 2023 #3 Erel, I mean to say HttpUtils2Service is probably included in SMM which is why it is asking to remove HttpUtils2Service module. When I remove HttpUtils2Service module the code gives errors. Upvote 0
Erel, I mean to say HttpUtils2Service is probably included in SMM which is why it is asking to remove HttpUtils2Service module. When I remove HttpUtils2Service module the code gives errors.
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2023 #4 You should never have a HttpUtils2Service module. Remove it and add a reference to OkHttpUtils2 library. Upvote 0
You should never have a HttpUtils2Service module. Remove it and add a reference to OkHttpUtils2 library.
J Juzer Hussain Active Member Licensed User Longtime User Mar 20, 2023 #5 Yes Erel, I had to remove HttpUtils2Service module. I added OkHttpUtils2 library and changed HttpClient, HttpRequest to okHttpClient, okHttpRequest than it is working. Upvote 0
Yes Erel, I had to remove HttpUtils2Service module. I added OkHttpUtils2 library and changed HttpClient, HttpRequest to okHttpClient, okHttpRequest than it is working.