Xamarin的Andr​​oid。每次我运行设备的应用程序,该应用程序unistalled,然后重新安装。 [英] Xamarin, Android. Everytime I run the app on device, the application is unistalled and then installed again.

查看:278
本文介绍了Xamarin的Andr​​oid。每次我运行设备的应用程序,该应用程序unistalled,然后重新安装。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是很烦人的,因为从来就到Facebook的登录才能使用的应用。所以每次我想测试一个新的code实现我需要登录Facebook上。如果应用程序将不会被卸载后,凭证将持续存在,当我运行应用程序,我不会需要登录。当我在模拟器中运行它也发生了,但我preFER使用设备。

Is very annoying because I´ve to login in Facebook in order to use the app. So every time I want to test a new code implementation I need to login on Facebook. If the app would not get uninstalled, the credentials will persist and when I run the app I wont need to login. It also happens when I run it with the emulator, but I prefer using a device.

有谁知道如何避免卸载?

I'm使用Xamarin在Mac上开发Android,并且该设备是三星Galaxy S3迷你。

I´m using Xamarin on Mac developing for android, and the device is a Samsung Galaxy S3 Mini.

推荐答案

转到项目选项 - > Android的打造专业化 - >链接器 - >链接器Behaviour->设置链接SDK组件仅

Go to project option->Android Buid -> Linker -> Linker Behaviour-> set it link SDK assembly only.

这篇关于Xamarin的Andr​​oid。每次我运行设备的应用程序,该应用程序unistalled,然后重新安装。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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