【问题标题】:Qt mobile android build error with android ABI level 15, but works with higher ABIsQt mobile android build error with android ABI level 15,但适用于更高的 ABI
【发布时间】:2016-08-01 05:12:36
【问题描述】:

仅在 android ABI 级别 15 的构建过程中出错,但在 24 级时可以,在 Qt creator 中(发生在 x86 和 ARM android 中),在 android studio 中为 ABI 15 构建工作正常。

Qt 创建者 4.0.3

Position 40:36-165 : String types not allowed (at 'configChanges' with value 'orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation').

:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/a/android/android-sdk-linux/build-tools/24.0.1/aapt'' finished with non-zero exit value 1

【问题讨论】:

    标签: android qt qt-creator


    【解决方案1】:

    根据the documentationlayoutDirection 是在 API 级别 17 中添加的,因此您需要至少为 API 级别 17 构建,以便指定您的应用将处理由于布局方向更改而导致的配置更改自己。

    【讨论】:

      猜你喜欢
      • 2022-06-23
      • 2019-08-07
      • 1970-01-01
      • 1970-01-01
      • 2018-10-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-20
      相关资源
      最近更新 更多