dotintent / FlutterBleLib

Bluetooth Low Energy library for Flutter with support for simulating peripherals
Apache License 2.0
535 stars 197 forks source link

non-SDK interface error when reading and writing #533

Closed joshting closed 3 years ago

joshting commented 3 years ago

I hope this is something not related to the library but some thing I can configure to make it go away. I narrow down the problem to each time I perform read or write to a charateristic.

In the android app build.gradle: minSdkVersion is 19 and targetSdkVersion is 28

Accessing hidden method Lsun/misc/Unsafe;->getObjectVolatile(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) Accessing hidden method Lsun/misc/Unsafe;->putOrderedObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) Accessing hidden method Lsun/misc/Unsafe;->getLongVolatile(Ljava/lang/Object;J)J (greylist, linking, allowed)

mikolak commented 3 years ago

Wait, so what's the error? These are warnings, underlying native code has to be ported to newer API, but everything should be working fine at the moment.

mikolak commented 3 years ago

Duplicates #515