Page 1 of 1

Library not working in Android 5.1

Posted: Thu Apr 13, 2017 7:26 pm
by lz2021
Hello everyone, I am working with the NanoPC T2 and I have a problem when I am using the serial ports and also the GPIO ports, this only happens only with Android 5.1, since with Android 4.4 the same program works correctly, so I suppose there is Some kind of problem in the library installed in this Rom.
I have updated to the last version released by FriendlyArm, so I request to correct this problem to be able to use this Rom.
Best Regards

Re: Library not working in Android 5.1

Posted: Mon Apr 17, 2017 10:34 am
by chensy
Hi
Please describe your problem in detail.
Thanks!

Re: Library not working in Android 5.1

Posted: Thu Apr 20, 2017 1:17 pm
by lz2021
I developed an app, which uses the serial port and works properly on Android 4.4 (Friendlyarm), but when I install the same app in the version of Android 5.1 (Friendlyarm) is not working. The error occurs when executing the openserialport method, which returns the value -1.