Android Question Error compiling

Julio Ochoa

Member
Licensed User
Longtime User
hi,

I have an app built on 2013, and today I tryied to compile again the source code and the sw shows during the compiliation process this error:

B4A version: 5.50
Parsing code. (0.30s)
Compiling code. (0.54s)
Compiling layouts code. (0.01s)
Generating R file. (0.23s)
Compiling debugger engine code. (4.50s)
Compiling generated Java code. Error
B4A line: 206
hc.Execute(req, 1)
javac 1.8.0_131
src\Erradica\Captura\p18_listaenviar.java:704: error: cannot access ClientProtocolException
_hc.Execute(processBA,_req,(int) (1));
^
class file for org.apache.http.client.ClientProtocolException not found

---
Do you know what can be?

I suposse it fail when is compiling this code:
------------------
Dim req As HttpRequest
Dim hc As HttpClient
...
req = MultipartPost.CreatePostRequest(Base.g_Url1, NV, files)
...
hc.Execute(req, 1)

lstLotes.Visible = False
hc.Execute(req, 1)
--------------------
Thanks for your answer
 

Star-Dust

Expert
Licensed User
Longtime User
Use Okhttp library or Okhttputils2 Library.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top