I did it, I got the same errorJust a thought Did you try it like this?
B4X:Dim url As String = "http://192.168.1.10/images/2.jpg" job.Download(url)
Dim job As HttpJob
job.Initialize("download",Me)
Dim url As String = "http://192.168.1.10/images/2.jpg"
job.Download(url)
This fixed the problem. I removed the HttpJob module and I don't have this error.works fine here (the link does not work here though but it compiles fineB4X:Dim job As HttpJob job.Initialize("download",Me) Dim url As String = "http://192.168.1.10/images/2.jpg" job.Download(url)
B4A 5.02(1) and the httputils are replaced with the new provided with the okhttp library