Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5 Bluetooth Low Energy Scanner Android Example Fails To Build
Forum Updated to NodeBB v4.3 + New Features

Qt5 Bluetooth Low Energy Scanner Android Example Fails To Build

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 4 Posters 353 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LeonWBA
    wrote on last edited by LeonWBA
    #1

    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.

    Qt5 Debug Output.png

    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!

    J.HilkJ 1 Reply Last reply
    0
    • M Offline
      M Offline
      mchinand
      wrote on last edited by
      #2

      See this StackOverflow post, sounds like a similar issue: https://stackoverflow.com/questions/33404552/execution-failed-for-task-appcompiledebugjavawithjavac-in-android-studio

      1 Reply Last reply
      0
      • L LeonWBA

        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.

        Qt5 Debug Output.png

        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!

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by J.Hilk
        #3

        @LeonWBA

        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


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved