Android Question Compiler error

grafsoft

Well-Known Member
Licensed User
Longtime User
Hi,

I get this message:

B4X:
Compiling generated Java code: Eror
B4A line 371
s=response.getstring (\
javac 1.8.0_60
src\Photo\Tagger\upload.java:910 error: Cannot acess ParseException
_s = _response.Getstring("UTF8");
                    ^

class file for org.apache.http.ParseException not found

I use Material desgn: https://www.b4x.com/android/forum/threads/material-design-1-basics.48077/

It compiles on one machine, but not on the other.

I do not even know whiich additional information to provide.

Help! and Thanks!
 

DonManfred

Expert
Licensed User
Longtime User
Which android.jar did you define in configure paths?
Which target sdk did you set in your manifest?

In case you set your target to api 23+ (Android Marchmallow (6)) then please note that you need to replace your HTTPUTILS with the new httputils (which uses the okHTTP instead of apache.*)

Just my 2cent
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
Android 23
minsdkversion=4, targetsdkversion=14
I do not use httputils2, only http library. List of files is attached.
 

Attachments

  • test.txt
    30.7 KB · Views: 162
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…