Hello, I am updating an app I created in 2018. The app does SQL queries to a remote server and once I upgraded B4A I also had to copy the HTTP.jar/.xml and HttpUtils2.jar/xml into the Libraries folder because they weren't there with the new version of B4A. I'm now getting a strange error when performing the ExecuteQuery function in DBRequestManager.
It's at this statement in ExecuteQuery where it gets the error:
j.PostBytes(link & "?method=query", ms.ToBytesArray)
And the error I get is:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost;
Do I need to upgrade the code or use some newer methods to make this work? Just looking for help on understanding what might have changed with the newer version of B4A.
Sorry but it's been a while since the app was written and it's been working fine but we need to upgrade.
It's at this statement in ExecuteQuery where it gets the error:
j.PostBytes(link & "?method=query", ms.ToBytesArray)
And the error I get is:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost;
Do I need to upgrade the code or use some newer methods to make this work? Just looking for help on understanding what might have changed with the newer version of B4A.
Sorry but it's been a while since the app was written and it's been working fine but we need to upgrade.