rafaelcamara Member Licensed User Longtime User May 21, 2019 #1 Hello friends, I'm having this problem after upgrading the SD_Printer library to 0.15. My B4A is with version 8.5 and Serial 1.31 as specified. Can someone help me? java.lang.NoSuchMethodError: No static method LogImpl(Ljava/lang/String;Ljava/lang/String;I)V in class Lanywheresoftware/b4a/keywords/Common; or its super classes (declaration of 'anywheresoftware.b4a.keywords.Common' appears in /data/app/sag.mobile.storenew-1/base.apk) at b4a.example.bt_printer._vvvv6(bt_printer.java:1255) at sag.mobile.storenew.exibirdoctos._imgimprime_click(exibirdoctos.java:16314) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:733) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:355) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175) at anywheresoftware.b4a.BA.raiseEvent(BA.java:171) at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80) at android.view.View.performClick(View.java:4785) at android.view.View$PerformClick.run(View.java:19888) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5258) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:940) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:735)
Hello friends, I'm having this problem after upgrading the SD_Printer library to 0.15. My B4A is with version 8.5 and Serial 1.31 as specified. Can someone help me? java.lang.NoSuchMethodError: No static method LogImpl(Ljava/lang/String;Ljava/lang/String;I)V in class Lanywheresoftware/b4a/keywords/Common; or its super classes (declaration of 'anywheresoftware.b4a.keywords.Common' appears in /data/app/sag.mobile.storenew-1/base.apk) at b4a.example.bt_printer._vvvv6(bt_printer.java:1255) at sag.mobile.storenew.exibirdoctos._imgimprime_click(exibirdoctos.java:16314) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:733) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:355) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175) at anywheresoftware.b4a.BA.raiseEvent(BA.java:171) at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80) at android.view.View.performClick(View.java:4785) at android.view.View$PerformClick.run(View.java:19888) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5258) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:940) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:735)
rafaelcamara Member Licensed User Longtime User May 21, 2019 #2 O problema ocorre quando executa a função BTPRINTER.SelectFromAssociatedPrinter para listar as impressoras pareadas. Upvote 0
O problema ocorre quando executa a função BTPRINTER.SelectFromAssociatedPrinter para listar as impressoras pareadas.
Erel B4X founder Staff member Licensed User Longtime User May 22, 2019 #3 It is related to the library being compiled with a newer version of B4A. Upvote 0
rafaelcamara Member Licensed User Longtime User May 22, 2019 #4 Right, but my B4A is more current than the library, is that it? and what would be the Serial library compatible with B4A 8.5? Upvote 0
Right, but my B4A is more current than the library, is that it? and what would be the Serial library compatible with B4A 8.5?
Erel B4X founder Staff member Licensed User Longtime User May 23, 2019 #5 rafaelcamara said: Right, but my B4A is more current than the library, is that it? Click to expand... No. It requires B4A v8.8+. The problem is not related to the serial library. Upvote 0
rafaelcamara said: Right, but my B4A is more current than the library, is that it? Click to expand... No. It requires B4A v8.8+. The problem is not related to the serial library.