birnesoft Active Member Licensed User Longtime User Apr 18, 2018 #1 since Version 8.0 I get an error but I use okhttpUtils android 27 B4X: Kompiliere generierten Java Code. Error hc.Initialize(\ main.java:570: error: cannot access ClientProtocolException mostCurrent._hc.Initialize("hc"); ^ class file for org.apache.http.client.ClientProtocolException not found 1 error
since Version 8.0 I get an error but I use okhttpUtils android 27 B4X: Kompiliere generierten Java Code. Error hc.Initialize(\ main.java:570: error: cannot access ClientProtocolException mostCurrent._hc.Initialize("hc"); ^ class file for org.apache.http.client.ClientProtocolException not found 1 error
DonManfred Expert Licensed User Longtime User Apr 18, 2018 #2 Update to okhttp and okhttputils birnesoft said: but I use okhttpUtils Click to expand... Based on the error you are not. You are using the old http and/or httputils Upvote 0
Update to okhttp and okhttputils birnesoft said: but I use okhttpUtils Click to expand... Based on the error you are not. You are using the old http and/or httputils
birnesoft Active Member Licensed User Longtime User Apr 18, 2018 #3 oh yes it works thanks. I forget to change the declarations to "OK". B4X: dim hc as okHttpClient and Sub hc_ResponseSuccess (Response As OkHttpResponse, TaskId As Int) Upvote 0
oh yes it works thanks. I forget to change the declarations to "OK". B4X: dim hc as okHttpClient and Sub hc_ResponseSuccess (Response As OkHttpResponse, TaskId As Int)