I want to use the library Http instead of OkHttp to make my application compatible with Android 2.2 (API Level 8) but when compiling this error occurs:
I tried to change different versions of javac.exe (1.8, 1.7 and 1.6) but with the same result.
Any idea?
Thanks in advance
B4A version: 5.02 (1)
Parsing code. (0.03s)
Compiling code. (0.12s)
Compiling layouts code. (0.00s)
Generating R file. (0.30s)
Compiling generated Java code. Error
B4A line: 67
wc.Initialize(\
javac 1.8.0_77
src\andestas2\firpas\com\mapa.java:395: error: cannot access ClientProtocolException
Debug.DebugWarningEngine.CheckInitialize(_wc);_wc.Initialize("wc");
^
class file for org.apache.http.client.ClientProtocolException not found
I tried to change different versions of javac.exe (1.8, 1.7 and 1.6) but with the same result.
Any idea?
Thanks in advance