减少:使用android版本Xamarin Android,VS进行编译 [英] decrease: compile using android version Xamarin Android, VS

查看:198
本文介绍了减少:使用android版本Xamarin Android,VS进行编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我会问如何降低使用android版本进行编译"的最低版本. 我有: 使用android版本(2.3 [Gingerbred],6.0 [Marshmallow])进行编译 最低Android目标(1.6-6.0) 目标android版本(1.6-6.0)

I would ask how to decrease minimum version of 'compile using android version'. I have: compile using android version ( 2.3[Gingerbred] , 6.0[Marshmallow] ) minimum android to target ( 1.6 - 6.0 ) target android version ( 1.6 - 6.0 )

我想在使用android版本进行编译"中设置低于2.3版本. 如何设置?从经理SDK下载东西吗?

I would like to set lower than 2.3 version in 'compile using android version'. How to set it? Dowload something from manager sdk?

请帮助我.我问是因为我的三星Galaxy Ace遇到了惊人的问题.即使代码正常,并且模拟器运行良好,任何应用程序都无法在我的手机上运行.我将很快将其更改为elicpse + java-,-,因为VS使我难过.

Please help me. I ask because I have amazing problems with my Samsung Galaxy Ace. Any application cannot work on my mobile even code is ok and emulator works well. I am going to change it for elicpse + java soon -,- because VS makes me sad.

非常感谢.

推荐答案

请注意,在Xamarin.Android 5.0中已删除了一些API级别:

Just a heads up that some API levels were removed in Xamarin.Android 5.0:

https://developer.xamarin.com/releases/android/xamarin.android_5/xamarin.android_5.0/#Removal_Of_API_Levels

话虽如此,我建议您至少以API 10为目标.但是,您应该忽略这里的含义,因为您可能只想将minSDKLevel设置为<. 2.3:

With this said, I would recommend that you target against API 10 as a minimum. However you should overlook what that means here as you may only want to set your minSDKLevel to < 2.3:

http://redth.codes/such-android-api -levels-much-confuse-wow/

Android官方文档中也对此进行了解释: https://developer.android.com/guide/topics/manifest/uses-sdk-element.html

This is also explained in the official Android docs: https://developer.android.com/guide/topics/manifest/uses-sdk-element.html

要使用此功能,只需从Android SDK下载相应的API级别,即可开始比赛.

To use this, simply download the respective API level from the Android SDK and you're off to the races.

这篇关于减少:使用android版本Xamarin Android,VS进行编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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