Jump to content
TreeCat

JNI DETECTED ERROR IN APPLICATION

Recommended Posts

I am not good at English.
I'm sorry.

I'm using TinkerBoard2S.
The OS uses Android 11.
I use the mraa library to read the Uart value.
But sometimes this error appears.

JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal continuation byte 0xf0(The value after byte changes every time)

Even if I try to modify the mraa library, I cannot modify it because it is read-only.
Can't I handle the value that is not converted to utf8 from TinkerBoard2S?

Share this post


Link to post
Share on other sites

hello @TreeCat

did you enable uart? it can be enabled by editing /boot/config.txt

what are the test steps and how did you read the values? perhaps we can try to reproduce the issue on our side

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...