Bug 21462 - Minimum and Target Android version settings only list installed SDK platforms
Summary: Minimum and Target Android version settings only list installed SDK platforms
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 3.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Juan Marcelo Tondato
URL:
Depends on:
Blocks:
 
Reported: 2014-07-20 10:14 UTC by Jérémie Di Prizio
Modified: 2015-11-26 10:38 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Jérémie Di Prizio 2014-07-20 10:14:16 UTC
When editing the project settings of an Android application, the "Minimum Android to target" and "Target Android version" options only offer choices from installed Android SDK platforms.

Unless I'm mistaken, those two options only change parameters in Android manifest XML to indicate min and max allowed Android versions. While I understand that "Compile using Android version" parameter obviously requires the SDK platform to be installed, installing platforms for min/max versions is absolutely unnecessary unless you do some kind of API check on build.

Xamarin Studio on the other hand simply lists all available API versions which should be the default behavior as well for Visual Studio add-in for the aforementioned two fields.

Right now available workarounds are:

1/ Use Xamarin Studio to set it up and do not touch in Visual Studio
2/ Install desired SDK platforms in Android SDK Manager

I'm using Xamarin stable 3.1.228.0, Windows 8.1 and Visual Studio 2013 Update 2.
Comment 1 Mohit Kheterpal 2014-07-24 14:13:31 UTC
I have checked this issue and getting same behavior as shown in screencast : http://screencast.com/t/hjlymg7mdhM1
Comment 2 xamarin-release-manager 2015-10-19 15:25:07 UTC
Fixed in version 99.0.0.409 (master)

Author: joj
Commit: dce9e7e9a755c33dcdc0a21f5ce2b846b793a0a2 (xamarin/XamarinVS)
Comment 3 xamarin-release-manager 2015-11-26 10:38:41 UTC
Fixed in version 4.0.1.1 (cycle6)

Author: joj
Commit: dce9e7e9a755c33dcdc0a21f5ce2b846b793a0a2 (xamarin/XamarinVS)