Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Can't set the API version to Google Play acceptable number

Can't set the API version to Google Play acceptable number

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 1 Posters 334 Views
  • 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.
  • R Offline
    R Offline
    RogueWarrior
    wrote on last edited by
    #1

    I can't figure out how to force Qt Creator et al to build the app using API version 31 or later. Specifying it in the Projects -> Build -> Build Android APK has no effect.
    Specifying it in the AndroidManifest.xml results in major compile errors.

    I'm trying to build an AAB so the Play store will accept it. I'm using Qt 5.15.2 and qmake.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RogueWarrior
      wrote on last edited by
      #2

      sigh I ended up having to hard code version numbers in the build.gradle file.

      compileSdkVersion 33
      buildToolsVersion '33.0.2'
      
      defaultConfig {
          resConfig "en"
          //minSdkVersion = qtMinSdkVersion          <--- Doesn't work
          //targetSdkVersion = qtTargetSdkVersion    <--- Doesn't work
          minSdkVersion 33
          targetSdkVersion 33
      }
      
      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