Qt5 Bluetooth Low Energy Scanner Android Example Fails To Build
-
Hi,
I'm trying to built the Qt5 Bluetooth Low Energy Scanner example from Qt Creator (https://doc.qt.io/qt-5/qtbluetooth-lowenergyscanner-example.html) and I get a Building the android package failed! error.
Do you know why this is occurring? The line Task :compileDebugRenderscript NO-SOURCE corresponds with the failure of the compileDebugJavaWithJavac task specified in the red text.
Thanks for any replies in advance!
-
See this StackOverflow post, sounds like a similar issue: https://stackoverflow.com/questions/33404552/execution-failed-for-task-appcompiledebugjavawithjavac-in-android-studio
-
Currently QtBluetooth does not support android api 32 as a target set it to android 11 or lower.
see here for further information:
https://bugreports.qt.io/browse/QTBUG-99590