Qt Creator 无法确定物理 android 设备的 CPU arch

Qt Creator is unable to determine CPU arch for physical android device

我尝试将 android 应用程序部署到我的测试设备,这在过去运行良好。但是,出于某种原因,Qt Creator 似乎无法确定设备的架构和 OS 信息。我得到的构建错误如下:

22:05:35: The deployment device "HTC U12+" does not support the architectures used by the kit. The kit supports "armeabi-v7a", but the device uses "".

检查设备设置,我发现缺少 OS 版本和体系结构:

我试过了:

我也可以 运行 adb.exe -s <my device> shell getprop 并且设备很乐意提供我寻找的信息:

[ro.build.version.release]: [9]
[ro.build.version.sdk]: [28]
[ro.build.version.min_supported_target_sdk]: [17]
[ro.product.cpu.abi]: [arm64-v8a]
[ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi]
[ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
[ro.product.cpu.abilist64]: [arm64-v8a]

这是已安装的软件包,如 sdkmanager 所列:

Installed packages:=====================] 100% Computing updates...
  Path                     | Version      | Description                             | Location
  -------                  | -------      | -------                                 | -------
  build-tools;30.0.2       | 30.0.2       | Android SDK Build-Tools 30.0.2          | build-tools.0.2\
  build-tools;31.0.0       | 31.0.0       | Android SDK Build-Tools 31              | build-tools.0.0\
  cmdline-tools;latest     | 6.0          | Android SDK Command-line Tools (latest) | cmdline-tools\latest\
  extras;google;usb_driver | 13           | Google USB Driver                       | extras\google\usb_driver\
  ndk;21.3.6528147         | 21.3.6528147 | NDK (Side by side) 21.3.6528147         | ndk.3.6528147\
  ndk;22.1.7171670         | 22.1.7171670 | NDK (Side by side) 22.1.7171670         | ndk.1.7171670\
  patcher;v4               | 1            | SDK Patch Applier v4                    | patcher\v4\
  platform-tools           | 33.0.1       | Android SDK Platform-Tools              | platform-tools\
  platforms;android-28     | 6            | Android SDK Platform 28                 | platforms\android-28\
  platforms;android-31     | 1            | Android SDK Platform 31                 | platforms\android-31\
  tools                    | 2.1.0        | Android SDK Tools 2.1                   | tools\

套件设置对我来说也不错:

我不知道还能尝试什么,欢迎任何指点。

这似乎是 QtCreator 中的一个错误,大概 QTCREATORBUG-27103。我将我的 QtCreator 更新到当前版本 7.0.0-rc1 并且部署再次正常工作。