Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25550

Can`t change Android API Level in shared library (.so)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.14.2, Qt Creator 4.15.0-beta2
    • Fix Version/s: None
    • Component/s: Android Support
    • Labels:
      None
    • Platform/s:
      Android

      Description

      Used arm64-v8a. Shared library project. "Projects" - "Build Android APK" shows android-23, android-29, android-30, but nothing happens, if I select android-30 option for example. Always defined _ANDROID_API_ 23.  Cant find how to change API level. As workaround I can redefine it in pro, but warning showed:<command line>:9: warning:

      '_ANDROID_API_' macro redefined [-Wmacro-redefined]
      In file included from <built-in>:423:
      <command line>:9:9: warning: '_ANDROID_API_' macro redefined [-Wmacro-redefined]
      #define _ANDROID_API_ 24
      ^
      <built-in>:415:9: note: previous definition is here
      #define _ANDROID_API_ 23
      ^

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            portale Alessandro Portale
            Reporter:
            svar Va Ar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes