Android Question Widget fetch http tutorial error

AnandGupta

Expert
Licensed User
Longtime User
I am trying to make a widget.

It will download version.txt from g drive and show the version number. Simple.

I read and compiled below and found Ok

I read and compiled below but error. Added http jar still got error. Selecting okhttputills2 does not work.

B4X:
B4A Version: 10.60
Parsing code.    (0.02s)
    Java Version: 8
Building folders structure.    (0.02s)
Compiling code.    (1.27s)
Compiling layouts code.    (0.06s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    (1.12s)
Compiling generated Java code.    Error
B4A line: 97
Log(Response.GetString(\
javac 1.8.0_261
src\anywheresoftware\b4a\samples\quotes\httputilsservice.java:166: error: cannot access ParseException
anywheresoftware.b4a.keywords.Common.LogImpl("21572869",_response.GetString("UTF8"),0);
                                                                           ^
  class file for org.apache.http.ParseException not found

b4a4.png

The second one has logic of what I need but error. How to fix it.

Regards,

Anand
 

Similar Threads

Replies
120
Views
185K
  • Locked
  • Article
Android Tutorial SQL tutorial
Replies
161
Views
284K
Top