flutter_libserialport icon indicating copy to clipboard operation
flutter_libserialport copied to clipboard

Not able to install app using flutter_libserial on android

Open learncodingforweb opened this issue 4 years ago • 3 comments

* What went wrong:
A problem occurred configuring project ':flutter_libserialport'.
> NDK at Android/Sdk/ndk/21.1.6352462 did not have a source.properties file

Even through updated android studio to use latest version of NDK

learncodingforweb avatar Apr 28 '21 15:04 learncodingforweb

Hi, do I understand correctly that a plain Flutter counter example or such works fine, but as soon as flutter_libserialport is added as a dependency, the build error occurs?

jpnurmi avatar Apr 28 '21 17:04 jpnurmi

Problem get resolved by uninstall and after that again installing sdk in android resolves the problem. Able to install app in android, But getting

SerialPortError: Permission denied, error = 13

Running on Android Version 8.1.0 how to resolve this issue in android?

learncodingforweb avatar Apr 29 '21 15:04 learncodingforweb

I don't know what kind of device you have, but hopefully a rooted one: https://github.com/jpnurmi/libserialport.dart/issues/3

jpnurmi avatar Apr 29 '21 16:04 jpnurmi

We put permission handling in todo. Activity is tracked in #76 Closed

lucafabbri avatar Feb 21 '24 11:02 lucafabbri