Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PAX A80 (64 bit device) #21

Open
tonyrbf96 opened this issue Jun 19, 2024 · 0 comments
Open

Add support for PAX A80 (64 bit device) #21

tonyrbf96 opened this issue Jun 19, 2024 · 0 comments

Comments

@tonyrbf96
Copy link

tonyrbf96 commented Jun 19, 2024

I am getting this error executing

await FlutterPaxPrinterUtility.init;

ERROR

FATAL EXCEPTION: main
Process: com.pinserve.prepaidmini, PID: 26229
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.mahatech.flutter_pax_printer_utility_example-1/lib/arm64/libDeviceConfig.so" is 32-bit instead of 64-bit
at java.lang.Runtime.loadLibrary0(Runtime.java:989)
at java.lang.System.loadLibrary(System.java:1530)
at com.pax.dal.impl.utils.DeviceConfig.(SourceFile:22)
at com.pax.dal.impl.utils.ServiceUtils.getDeviceEnable(SourceFile:90)
at com.pax.dal.impl.utils.ServiceUtils.isModuleEnable(SourceFile:102)
at com.pax.dal.impl.D.u(SourceFile:121)
at com.pax.dal.impl.D.init(SourceFile:128)
at com.pax.dal.impl.PrinterImplDecorator.init(SourceFile:55)
at com.mahatech.flutter_pax_printer_utility.PrinterUtility.init(PrinterUtility.java:43)
at com.mahatech.flutter_pax_printer_utility.FlutterPaxPrinterUtilityPlugin.onMethodCall(FlutterPaxPrinterUtilityPlugin.java:45)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger
at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(D8$$SyntheticClass)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:969)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:859)

DEVICE

Model A80
Debug Only
Android 7.1.1
Kernel 3.10.65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant