Open nadeemabualarayes opened 3 months ago
hi, you can update the printerx version like :'com.sunmi:printerx:latest.release' to 'com.sunmi:printerx:latest.release 1.0.17'
Hi we have the same issue, we cloned the repo and built the APK on the Sunmi v2s device but it is not working we are getting: when I went to Settings I was not able to find the Sunmi printer
@muathejamil hi, Please provide the version of your device.
Null reference encountered during printing java.lang.NullPointerException: Attempt to invoke virtual method 'com.sunmi.printerx.api.LineApi com.sunmi.printerx.PrinterSdk$Printer.lineApi()' on a null object reference at com.sunmi.samples.printerx.TicketFragment.lambda$onViewCreated$0$com-sunmi-samples-printerx-TicketFragment(TicketFragment.java:52) at com.sunmi.samples.printerx.TicketFragment$$ExternalSyntheticLambda0.onClick(Unknown Source:2) at android.view.View.performClick(View.java:7527) at android.view.View.performClickInternal(View.java:7500) at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0) at android.view.View$PerformClick.run(View.java:29538) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7941) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1015)
2024-08-19 22:09:57.891 507-576 libPowerHal ven...hardware.mtkpower@1.0-service E error : 13, Permission denied 2024-08-19 22:09:57.891 507-576 libPowerHal ven...hardware.mtkpower@1.0-service E Could not open '/proc/cpufreq/cpufreq_cci_mode' 2024-08-19 22:09:57.891 507-576 libPowerHal ven...hardware.mtkpower@1.0-service E error : 2, No such file or directory 2024-08-19 22:09:57.891 507-576 libPowerHal ven...hardware.mtkpower@1.0-service E Could not open '/proc/gpufreq/gpufreq_opp_freq' 2024-08-19 22:09:57.891 507-576 libPowerHal ven...hardware.mtkpower@1.0-service E error : 13, Permission denied 2024-08-19 22:09:57.891 507-576 libPowerHal ven...hardware.mtkpower@1.0-service E Could not open '/sys/devices/platform/10012000.dvfsrc/helio-dvfsrc/dvfsrc_force_vcore_dvfs_opp' 2024-08-19 22:09:57.891 507-576 libPowerHal ven...hardware.mtkpower@1.0-service E error : 13, Permission denied 2024-08-19 22:09:57.891 507-576 libPowerHal ven...hardware.mtkpower@1.0-service E Could not open '/sys/devices/system/cpu/sched/sched_boost' 2024-08-19 22:09:57.891 507-576 libPowerHal ven...hardware.mtkpower@1.0-service E error : 2, No such file or directory