【问题标题】:App not installed error on android 11 device from appcenter来自 appcenter 的 android 11 设备上的应用未安装错误
【发布时间】:2021-09-08 12:14:40
【问题描述】:

我正在开发 Xamarin.Forms 应用程序。将 targetSdkVersion 更改为 30 并在 appcenter 上使用最新的 sdk(11.1) 构建应用程序后,我仅在 android 11 上收到错误 App not installed设备。 如果我将 targetSdkVersion 改回 29 并在 appcenter 上构建应用程序,那么我可以在 android 11 设备上安装应用程序。

在模拟器上安装 apk 时获得更多详细信息:

The APK failed to install.
Error: INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package "*packagename*"

我需要更新我的密钥库吗?如果是,我该如何更新?

【问题讨论】:

  • 在 appcenter 上重新上传现有的密钥库已解决问题
  • 恭喜,感谢您对 xamarin 的支持。
  • 我们的构建也发生了同样的事情。重新上传密钥库似乎已经修复了它(还禁用了内部构建的应用程序包,我在解决此问题时启用了它,并且在我禁用它之前它一直处于损坏状态。

标签: xamarin.forms xamarin.android visual-studio-app-center visual-studio-app-center-distribute


【解决方案1】:

在 appcenter 上重新上传现有的密钥库已经解决了这个问题,对我也有用。

【讨论】:

    【解决方案2】:

    我在使用最新的 Android 版本时遇到了同样的问题。在appcenter 中选择应用程序,转到settings

    remove existing keystore and upload keystore again
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-04
      • 2020-11-26
      • 2011-06-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多