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. Unknown Localizations causing aab upload to fail.

Unknown Localizations causing aab upload to fail.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 1 Posters 315 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.
  • B Offline
    B Offline
    Benjamin Flanagin
    wrote on last edited by Benjamin Flanagin
    #1

    When exporting to android various localizations are added to...lets say the manifest? Here is what the android developer console is listing:
    de, el, es, et, fa, fr, in, it, ja, ms, nb, nl, pl, pt_BR, ro, rs, ru, zh_CN, zh_TW

    It seems that when I try to create an aab it checks these locales and gives an error when it can't find one in the supported locales on Android. In particular its failing on rs. Is there a way to disable these locales or manually set the list of locale in Qt?

    B 1 Reply Last reply
    0
    • B Benjamin Flanagin

      When exporting to android various localizations are added to...lets say the manifest? Here is what the android developer console is listing:
      de, el, es, et, fa, fr, in, it, ja, ms, nb, nl, pl, pt_BR, ro, rs, ru, zh_CN, zh_TW

      It seems that when I try to create an aab it checks these locales and gives an error when it can't find one in the supported locales on Android. In particular its failing on rs. Is there a way to disable these locales or manually set the list of locale in Qt?

      B Offline
      B Offline
      Benjamin Flanagin
      wrote on last edited by
      #2

      The easiest way to do this is to add

      defaultConfig {
      resConfig "en" <Or whatever languages you want>
      }

      to your build.gradle file. However, it still seems odd that the default values throw an error on Google Play.

      1 Reply Last reply
      1

      • Login

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