I do have an Android old device (API < 18) which is Bluetooth Low Energy
capable. I know its odd but it actually has BLE support.
However I am not able to compile a bluetooth low energy capable app using
Android Studio.
Android Studio complains because my device is under API 18. I avoid this
warning by using:
@SuppressLint("NewApi")
This makes it possible to compile the .apk BUT when I install it on the device.
dalvik complains:
Failed resolving Lcom/package/class;
Link of class 'Lcom/package/class;' failed
Is there any way to force dalvik to compile my bluetooth low energy class even
if my device is under API 18?
Do I have to modify Android Bluetooth Low Energy API? any ideas?
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/fb176a9c-fc3d-453b-90be-17ab8514475b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.