andrey-ushakov / flutter_sunmi_printer

Flutter plugin allows to print thermal receipts using Sunmi device with a built-in printer
BSD 3-Clause "New" or "Revised" License
16 stars 50 forks source link

Error trying to print #4

Open hellfish2 opened 4 years ago

hellfish2 commented 4 years ago

Hi,

We have an issue trying to print, any help qith this thanks.

here attached is the error message:

aidl E 09-18 22:26:41 42919 42919 aidl.cpp:581] refusing to generate code from aidl file defining parcelable Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. PlatformException (PlatformException(error, Attempt to invoke interface method 'void woyou.aidlservice.jiuiv5.IWoyouService.setFontSize(float, woyou.aidlservice.jiuiv5.ICallback)' on a null object reference, null))

erolisdev commented 2 years ago

I have same issue. Did you fix it ?

omarzezo commented 2 years ago

hi

I have same issue. Did you fix it ?

arbruzaz commented 2 years ago

I have fixed it by adding `

` in AndroidManifest.xml according to [https://developer.sunmi.com/docs/en-US/xeghjk491/ciqeghjk513](url)
tarushbalodhi commented 10 months ago

I have fixed it by adding <queries> <package android:name=“woyou.aidlservice.jiuiv5”/> </queries> in AndroidManifest.xml according to https://developer.sunmi.com/docs/en-US/xeghjk491/ciqeghjk513 hey it worked for me tysm.. i have been struggling for a month

tarushbalodhi commented 9 months ago

it is working in USB debugging but not in APK why ?