G grafsoft Well-Known Member Licensed User Longtime User Aug 21, 2015 #1 Hi, I get this message: Code: Copy 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!
Hi, I get this message: Code: Copy 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 Aug 21, 2015 #2 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
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
G grafsoft Well-Known Member Licensed User Longtime User Aug 21, 2015 #3 Android 23 minsdkversion=4, targetsdkversion=14 I do not use httputils2, only http library. List of files is attached. Attachments test.txt test.txt 30.7 KB · Views: 294 Upvote 0
Android 23 minsdkversion=4, targetsdkversion=14 I do not use httputils2, only http library. List of files is attached.
DonManfred Expert Licensed User Longtime User Aug 21, 2015 #4 grafsoft said: Android 23 minsdkversion=4, targetsdkversion=14 I do not use httputils2, only http library. Click to expand... Starting from Andoroid 6 the apache http is REMOVED from android. I suggest to install and use the new (Android 6 ready) okHTTP. https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/#content (maybe you need to change the references to the http library. Uncheck http and check okhttp instead then. Upvote 0
grafsoft said: Android 23 minsdkversion=4, targetsdkversion=14 I do not use httputils2, only http library. Click to expand... Starting from Andoroid 6 the apache http is REMOVED from android. I suggest to install and use the new (Android 6 ready) okHTTP. https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/#content (maybe you need to change the references to the http library. Uncheck http and check okhttp instead then.
G grafsoft Well-Known Member Licensed User Longtime User Aug 21, 2015 #5 Thankk you! This works! Upvote 0