首页 > 解决方案 > 来自 appcenter 的 android 11 设备上的应用未安装错误

问题描述

我正在开发Xamarin.Forms应用程序。在将targetSdkVersion更改为30并在 appcenter 上使用最新的 sdk(11.1) 构建应用程序后,我App not installed只在android 11设备上遇到错误。如果我将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*"

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

标签: xamarin.formsxamarin.androidvisual-studio-app-centervisual-studio-app-center-distribute

解决方案


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


推荐阅读