B Britt Paty New Member Licensed User Longtime User Mar 16, 2016 #1 Hi, I'm getting a ParseException error in B4A during compile. Anybody have any ideas why? B4A version: 5.80 Parsing code. (0.02s) Compiling code. (0.11s) Compiling layouts code. (0.00s) Generating R file. (0.04s) Compiling debugger engine code. (1.58s) Compiling generated Java code. Error B4A line: 219 Log(response.GetString(\ javac 1.8.0_73 src\b4a\example\b4aserverservice.java:559: error: cannot access ParseException anywheresoftware.b4a.keywords.Common.Log(_response.GetString("UTF8")); ^ class file for org.apache.http.ParseException not found
Hi, I'm getting a ParseException error in B4A during compile. Anybody have any ideas why? B4A version: 5.80 Parsing code. (0.02s) Compiling code. (0.11s) Compiling layouts code. (0.00s) Generating R file. (0.04s) Compiling debugger engine code. (1.58s) Compiling generated Java code. Error B4A line: 219 Log(response.GetString(\ javac 1.8.0_73 src\b4a\example\b4aserverservice.java:559: error: cannot access ParseException anywheresoftware.b4a.keywords.Common.Log(_response.GetString("UTF8")); ^ class file for org.apache.http.ParseException not found
DonManfred Expert Licensed User Longtime User Mar 16, 2016 #2 You are using Android.jar from API 23? Replace http and httputils with okhttp and okhttputils. Upvote 0
B Britt Paty New Member Licensed User Longtime User Mar 16, 2016 #3 DonManfred said: You are using Android.jar from API 23? Replace http and httputils with okhttp and okhttputils. Click to expand... Thanks Manfred, I did and it works fine. I appreciate it. Upvote 0
DonManfred said: You are using Android.jar from API 23? Replace http and httputils with okhttp and okhttputils. Click to expand... Thanks Manfred, I did and it works fine. I appreciate it.
C carlosgg New Member Licensed User Apr 2, 2016 #4 hi i get this error B4A version: 5.80 Parsing code. (0.31s) Compiling code. (0.33s) Compiling layouts code. (0.12s) Generating R file. (0.27s) Compiling generated Java code. Error B4A line: 67 Log(Response.GetString(\ javac 1.8.0_71 src\com\htsoft\youtubedownload\httputils2service_new.java:149: error: cannot access ParseException anywheresoftware.b4a.keywords.Common.Log(_response.GetString("UTF8")); ^ class file for org.apache.http.ParseException not found i have changed the libraries like on previous post but i get this error then B4A version: 5.80 Parsing code. Error Error parsing program. Error description: Unknown type: httprequest Are you missing a library reference? Occurred on line: 10 (HttpJob_new) Private req As HttpRequest can anyone give help please? Upvote 0
hi i get this error B4A version: 5.80 Parsing code. (0.31s) Compiling code. (0.33s) Compiling layouts code. (0.12s) Generating R file. (0.27s) Compiling generated Java code. Error B4A line: 67 Log(Response.GetString(\ javac 1.8.0_71 src\com\htsoft\youtubedownload\httputils2service_new.java:149: error: cannot access ParseException anywheresoftware.b4a.keywords.Common.Log(_response.GetString("UTF8")); ^ class file for org.apache.http.ParseException not found i have changed the libraries like on previous post but i get this error then B4A version: 5.80 Parsing code. Error Error parsing program. Error description: Unknown type: httprequest Are you missing a library reference? Occurred on line: 10 (HttpJob_new) Private req As HttpRequest can anyone give help please?
DonManfred Expert Licensed User Longtime User Apr 2, 2016 #5 carlosgg said: can anyone give help please? Click to expand... Sure! See Post #2 in this thread. Upvote 0