ihabsharaf Member Licensed User Longtime User Mar 9, 2016 #1 what is the problem B4A version 4.30 Parsing code. 0.04 Compiling code. 0.12 Compiling layouts code. 0.02 Generating R file. 0.05 Compiling debugger engine code. 2.29 Compiling generated Java code. Error B4A line: 42 HttpClient1.Initialize(\ javac 1.8.0_25 src\b4a\example\reg.java:356: error: cannot access ClientProtocolException _httpclient1.Initialize("HttpClient1"); ^ class file for org.apache.http.client.ClientProtocolException not found
what is the problem B4A version 4.30 Parsing code. 0.04 Compiling code. 0.12 Compiling layouts code. 0.02 Generating R file. 0.05 Compiling debugger engine code. 2.29 Compiling generated Java code. Error B4A line: 42 HttpClient1.Initialize(\ javac 1.8.0_25 src\b4a\example\reg.java:356: error: cannot access ClientProtocolException _httpclient1.Initialize("HttpClient1"); ^ class file for org.apache.http.client.ClientProtocolException not found
mangojack Expert Licensed User Longtime User Mar 9, 2016 #2 ihabsharaf said: what is the problem Click to expand... Does this help ? https://www.b4x.com/android/forum/threads/cannot-access-clientprotocolexception.61767/ Upvote 0
ihabsharaf said: what is the problem Click to expand... Does this help ? https://www.b4x.com/android/forum/threads/cannot-access-clientprotocolexception.61767/
DonManfred Expert Licensed User Longtime User Mar 9, 2016 #4 Upload your project (File-Export as zip) Which API are you using? android.jar Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2016 #5 You have two options: 1. Switch to OkHttp and OkHttpUtils2 instead of Http / HttpUtils2. 2. Use an older version of android.jar. Upvote 0
You have two options: 1. Switch to OkHttp and OkHttpUtils2 instead of Http / HttpUtils2. 2. Use an older version of android.jar.