I am trying to create an article database with the JRDC2 example. In android I use the DBRequestManager module and an error occurs when compiling in B4A. Can anybody help me?
LOGS:
LOGS:
B4X:
Registro conectado a: Xiaomi Mi 9T
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
dbrequestmanager_sendjob (java line: 395)
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost;
at anywheresoftware.b4a.http.HttpClientWrapper$HttpUriRequestWrapper.InitializePost2(HttpClientWrapper.java:395)
at anywheresoftware.b4a.samples.httputils2.httpjob._postbytes(httpjob.java:185)
at b4a.mySQL.dbrequestmanager._sendjob(dbrequestmanager.java:395)
at b4a.mySQL.dbrequestmanager._executequery(dbrequestmanager.java:181)
at b4a.mySQL.main$ResumableSub_GetRecord.resume(main.java:499)
at b4a.mySQL.main._getrecord(main.java:465)
at b4a.mySQL.main._activity_create(main.java:420)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at b4a.mySQL.main.afterFirstLayout(main.java:105)
at b4a.mySQL.main.access$000(main.java:17)
at b4a.mySQL.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6861)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.client.methods.HttpPost" on path: DexPathList[[zip file "/data/app/b4a.mySQL-ikkCf8sGQQ7jiHZSpSjedw==/base.apk"],nativeLibraryDirectories=[/data/app/b4a.mySQL-ikkCf8sGQQ7jiHZSpSjedw==/lib/arm64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:171)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 19 more
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
dbrequestmanager_sendjob (java line: 395)
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost;
at anywheresoftware.b4a.http.HttpClientWrapper$HttpUriRequestWrapper.InitializePost2(HttpClientWrapper.java:395)
at anywheresoftware.b4a.samples.httputils2.httpjob._postbytes(httpjob.java:185)
at b4a.mySQL.dbrequestmanager._sendjob(dbrequestmanager.java:395)
at b4a.mySQL.dbrequestmanager._executequery(dbrequestmanager.java:181)
at b4a.mySQL.main$ResumableSub_GetRecord.resume(main.java:499)
at b4a.mySQL.main._getrecord(main.java:465)
at b4a.mySQL.main._activity_create(main.java:420)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at b4a.mySQL.main.afterFirstLayout(main.java:105)
at b4a.mySQL.main.access$000(main.java:17)
at b4a.mySQL.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6861)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.client.methods.HttpPost" on path: DexPathList[[zip file "/data/app/b4a.mySQL-ikkCf8sGQQ7jiHZSpSjedw==/base.apk"],nativeLibraryDirectories=[/data/app/b4a.mySQL-ikkCf8sGQQ7jiHZSpSjedw==/lib/arm64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:171)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 19 more
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
dbrequestmanager_sendjob (java line: 395)
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost;
at anywheresoftware.b4a.http.HttpClientWrapper$HttpUriRequestWrapper.InitializePost2(HttpClientWrapper.java:395)
at anywheresoftware.b4a.samples.httputils2.httpjob._postbytes(httpjob.java:185)
at b4a.mySQL.dbrequestmanager._sendjob(dbrequestmanager.java:395)
at b4a.mySQL.dbrequestmanager._executequery(dbrequestmanager.java:181)
at b4a.mySQL.main$ResumableSub_GetRecord.resume(main.java:499)
at b4a.mySQL.main._getrecord(main.java:465)
at b4a.mySQL.main._activity_create(main.java:420)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at b4a.mySQL.main.afterFirstLayout(main.java:105)
at b4a.mySQL.main.access$000(main.java:17)
at b4a.mySQL.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6861)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.client.methods.HttpPost" on path: DexPathList[[zip file "/data/app/b4a.mySQL-MJVL5Gb-CCXw-yUtA6gB4g==/base.apk"],nativeLibraryDirectories=[/data/app/b4a.mySQL-MJVL5Gb-CCXw-yUtA6gB4g==/lib/arm64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:171)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 19 more
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
dbrequestmanager_sendjob (java line: 395)
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost;
at anywheresoftware.b4a.http.HttpClientWrapper$HttpUriRequestWrapper.InitializePost2(HttpClientWrapper.java:395)
at anywheresoftware.b4a.samples.httputils2.httpjob._postbytes(httpjob.java:185)
at b4a.mySQL.dbrequestmanager._sendjob(dbrequestmanager.java:395)
at b4a.mySQL.dbrequestmanager._executequery(dbrequestmanager.java:181)
at b4a.mySQL.main$ResumableSub_GetRecord.resume(main.java:499)
at b4a.mySQL.main._getrecord(main.java:465)
at b4a.mySQL.main._activity_create(main.java:420)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at b4a.mySQL.main.afterFirstLayout(main.java:105)
at b4a.mySQL.main.access$000(main.java:17)
at b4a.mySQL.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6861)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.client.methods.HttpPost" on path: DexPathList[[zip file "/data/app/b4a.mySQL-MJVL5Gb-CCXw-yUtA6gB4g==/base.apk"],nativeLibraryDirectories=[/data/app/b4a.mySQL-MJVL5Gb-CCXw-yUtA6gB4g==/lib/arm64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:171)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 19 more
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
dbrequestmanager_sendjob (java line: 395)
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost;
at anywheresoftware.b4a.http.HttpClientWrapper$HttpUriRequestWrapper.InitializePost2(HttpClientWrapper.java:395)
at anywheresoftware.b4a.samples.httputils2.httpjob._postbytes(httpjob.java:185)
at b4a.mySQL.dbrequestmanager._sendjob(dbrequestmanager.java:395)
at b4a.mySQL.dbrequestmanager._executequery(dbrequestmanager.java:181)
at b4a.mySQL.main$ResumableSub_GetRecord.resume(main.java:499)
at b4a.mySQL.main._getrecord(main.java:465)
at b4a.mySQL.main._activity_create(main.java:420)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at b4a.mySQL.main.afterFirstLayout(main.java:105)
at b4a.mySQL.main.access$000(main.java:17)
at b4a.mySQL.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6861)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.client.methods.HttpPost" on path: DexPathList[[zip file "/data/app/b4a.mySQL-1XSQ5tPwfCa-w3z_mkcKEw==/base.apk"],nativeLibraryDirectories=[/data/app/b4a.mySQL-1XSQ5tPwfCa-w3z_mkcKEw==/lib/arm64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:171)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 19 more
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
dbrequestmanager_sendjob (java line: 395)
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost;
at anywheresoftware.b4a.http.HttpClientWrapper$HttpUriRequestWrapper.InitializePost2(HttpClientWrapper.java:395)
at anywheresoftware.b4a.samples.httputils2.httpjob._postbytes(httpjob.java:185)
at b4a.mySQL.dbrequestmanager._sendjob(dbrequestmanager.java:395)
at b4a.mySQL.dbrequestmanager._executequery(dbrequestmanager.java:181)
at b4a.mySQL.main$ResumableSub_GetRecord.resume(main.java:499)
at b4a.mySQL.main._getrecord(main.java:465)
at b4a.mySQL.main._activity_create(main.java:420)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at b4a.mySQL.main.afterFirstLayout(main.java:105)
at b4a.mySQL.main.access$000(main.java:17)
at b4a.mySQL.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6861)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.client.methods.HttpPost" on path: DexPathList[[zip file "/data/app/b4a.mySQL-1XSQ5tPwfCa-w3z_mkcKEw==/base.apk"],nativeLibraryDirectories=[/data/app/b4a.mySQL-1XSQ5tPwfCa-w3z_mkcKEw==/lib/arm64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:171)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 19 more