B4Xpages工程OKHttpUtils2支持库如何禁止重定向. (OKHttpUtils2 Disable redirection problems.)

hzq200409

Member
Licensed User
B4Xpages工程OKHttpUtils2支持库如何禁止重定向?我在论坛搜到的方法看起来都不能在B4XPage工程里用.
参考链接https://www.b4x.com/android/forum/t...edirections-with-okhttputils2.118469/#content , 我没有操作成功.
我不知道我的B4Xpages工程里面怎么设置. 我添加代码后提示:在"Dim jo As JavaObject = HttpUtils2Service.hc" 无法识别的类成员hc.


--------------------------------------------------------------------------------------------------------------------------
How does the B4Xpages project OKHttpUtils2 support library disable redirection?None of the methods I found on the forums seem to work in the B4XPage project.
Refer to the link https://www.b4x.com/android/forum/t...edirections-with-okhttputils2.118469/#content, I have no operation success.
I don't know how to set it up in my B4Xpages project. I add the code to prompt: Dim Jo As JavaObject = Httputils2service.hc class member not recognized at "Dim Jo As JavaObject = Httputils2service.hc ".
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Don't miss step #1:
Step 1: Add to build configuration (Ctrl + B): HU2_PUBLIC

1603371475268.png
 
Top