ac9ts Active Member Licensed User Longtime User Aug 19, 2015 #1 I was playing around with the new Marshmallow SDK (android-23\android.jar) and left it as the target android.jar in the path configuration. When I compile a program that worked under android-22, I get the following error: Log(Response.GetString(\ javac 1.8.0_45 src\com\xxxxxxxx\xxxx\httputils2service.java:125: error: cannot access ParseException anywheresoftware.b4a.keywords.Common.Log(_response.GetString("UTF8")); ^ class file for org.apache.http.ParseException not found I can easily stick with android-22 so I don't need a work-around. I just wanted to report the error.
I was playing around with the new Marshmallow SDK (android-23\android.jar) and left it as the target android.jar in the path configuration. When I compile a program that worked under android-22, I get the following error: Log(Response.GetString(\ javac 1.8.0_45 src\com\xxxxxxxx\xxxx\httputils2service.java:125: error: cannot access ParseException anywheresoftware.b4a.keywords.Common.Log(_response.GetString("UTF8")); ^ class file for org.apache.http.ParseException not found I can easily stick with android-22 so I don't need a work-around. I just wanted to report the error.
DonManfred Expert Licensed User Longtime User Aug 19, 2015 #2 Did you replaced your old httputils with the new ones using okHTTP?
Erel B4X founder Staff member Licensed User Longtime User Aug 19, 2015 #3 As @DonManfred wrote you should switch to OkHttp. See the explanation here: https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/#content
As @DonManfred wrote you should switch to OkHttp. See the explanation here: https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/#content