如何解决Xamarin表单中的部署错误? [英] How to solve Deployment Error in Xamarin Forms?

查看:171
本文介绍了如何解决Xamarin表单中的部署错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更新了Visual Studio 2017,并创建了一个新项目.它构建成功,但出现部署错误.应用程序未部署在我的Samsung J7设备上.在更新之前,它工作正常.

I have just updated Visual Studio 2017 and create one new project. It build successfully but giving deployment error. Application doesn't deploy on my Samsung J7 device. Before the update, it was working fine.

该如何解决?

推荐答案

有四种解决方案:

-阅读此帖子

-此错误是Visual Studio 15.6的最新版本.如果使用此版本,请降级到15.5.

-This bug is in last version Visual Studio 15.6. If you use this version make downgrade to 15.5.

  1. 如何删除当前版本

下载较旧的版本-在此页面.

-或等待下一次更新

-或在项目的属性中禁用apk的签名. 编辑您的csproj并设置:

-or disable the signing of the apk in the properties of your project. Edit your csproj and set :

<AndroidKeyStore>false</AndroidKeyStore>

但是在这种情况下,您将无法在Google Play中发布您的包.

But in this case you will not be able to publish your package in Google Play.

这篇关于如何解决Xamarin表单中的部署错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆