Android Question error Sd_Printer 0.15

rafaelcamara

Member
Licensed User
Longtime User
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
O problema ocorre quando executa a função BTPRINTER.SelectFromAssociatedPrinter para listar as impressoras pareadas.
 
Upvote 0

rafaelcamara

Member
Licensed User
Longtime User
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
Top