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

[Error: Attempt to invoke interface method 'void woyou.aidlservice.jiuiv5.IWoyouService.setAlignment(int, woyou.aidlservice.jiuiv5.ICallback)' on a null object reference] #2

Open
ebrahim5801 opened this issue Mar 6, 2023 · 6 comments

Comments

@ebrahim5801
Copy link

image

@tarushbalodhi
Copy link

has this issue been solved ?

@ebrahim5801
Copy link
Author

has this issue been solved ?

No, I think the library works only with an older version of React Native

@tarushbalodhi
Copy link

I have fixed it by adding

in AndroidManifest.xml according to https://developer.sunmi.com/docs/en-US/xeghjk491/ciqeghjk513

@tarushbalodhi
Copy link

@tarushbalodhi
Copy link

check this link
andrey-ushakov/flutter_sunmi_printer#4

@ebrahim5801
Copy link
Author

check this link andrey-ushakov/flutter_sunmi_printer#4

this was 2 years ago.
I tried it with an older version of react native and it worked, but I didn't use it because I had to use an old version of other libraries so we made the project using Flutter,
But if you know Java you can work your way around it, because after a lot of searching and debugging and trying, I couldn't fix it, you have to make updates in Java.
Good Luck.

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

2 participants