Bug 21296 - Regression: "Target Android version" incorrectly shows same value as "Minimum Android version"
Summary: Regression: "Target Android version" incorrectly shows same value as "Minimum...
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: 5.2
Hardware: PC Mac OS
: High normal
Target Milestone: 5.2
Assignee: Greg Munn
URL:
Depends on:
Blocks:
 
Reported: 2014-07-14 01:39 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2014-07-15 06:19 UTC (History)
3 users (show)

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


Attachments
Screenshot: matching Target and Minimum properties (44.05 KB, image/png)
2014-07-14 01:39 UTC, Brendan Zagaeski (Xamarin Team, assistant)
Details


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 or GitHub 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:
VERIFIED FIXED

Description Brendan Zagaeski (Xamarin Team, assistant) 2014-07-14 01:39:30 UTC
Created attachment 7351 [details]
Screenshot: matching Target and Minimum properties

Regression: "Target Android version" incorrectly shows same value as "Minimum Android version" in the AndroidManifest.xml editor.


## Steps to reproduce

1. Create a new Android Application project.

2. Double-click the "Properties\AndroidManifest.xml" file in the Solution pad to open it in the properties editor.

3. Set the "Minimum Android version" to some override value. For example: "Override - Android 4.0 (API level 14)".

4. Set the "Target Android version" to a different override value. For example: "Override - Android 4.3 (API level 18)".

5. Save the file.


## Result

The AndroidManifest.xml source view shows the correct values [1], but the property editor shows a "Target Android version" identical to the "Minimum Android version" (see attached image).


[1] <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="18" />


## Result in Xamarin Studio 5.1.3

The "Target Android version" shows the correct value after saving the file: "Override - Android 4.3 (API level 18)"


## Version information

Xamarin Studio 5.2 (build 366)
Mono 3.6.0 ((no/5ff701f)
GTK+ 2.24.23 (Raleigh theme)

Xcode 5.1 (5084), Build 5B130a

Mac OS X 10.9.3
Comment 1 Prashant manu 2014-07-14 02:25:56 UTC
Checked , "Target Android version" incorrectly shows same value as "Minimum Android version"

Screencast: http://screencast.com/t/GVRJ1iuFuOSS

Supplement Info:
IDE Log: https://gist.github.com/saurabh360/2ae40f70474379b75e60

Regression Status: It is working fine with stable XS 5.1.3(build 0)

Environment Info:
Xamarin Studio
Version 5.2 (build 374)
Installation UUID: 0b7eaebc-a0ed-4b58-81df-91e378cad28c
Runtime:
	Mono 3.6.0 ((no/5ff701f)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 306000037

Apple Developer Tools
Xcode 6.0 (6233.3)
Build 6A254o

Xamarin.iOS
Version: 7.2.99.101 (Enterprise Edition)
Hash: 961bcf1
Branch: 
Build date: 2014-07-03 18:26:59-0400

Xamarin.Android
Version: 4.14.0 (Enterprise Edition)
Android SDK: /Android SDK/android-sdk-macosx
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Xamarin.Mac
Version: 1.8.1.0

Build Information
Release ID: 502000374
Git revision: c44bea18bd950b1696def56a793a020d49c16133
Build date: 2014-07-13 19:41:43-04
Xamarin addins: 8d7daca6f45b75639988b66d681ec7cdb9641f9b

Operating System
Mac OS X 10.10.0
Darwin Admin-Macs-Mac-mini.local 14.0.0 Darwin Kernel Version 14.0.0
    Mon Jun 30 11:54:42 PDT 2014
    root:xnu-2782.1.20~3/RELEASE_X86_64 x86_64
Comment 2 Greg Munn 2014-07-14 15:38:56 UTC
Fixed in md-addins/master and md-addins/monodevelop-5.2-branch
Comment 3 Prashant manu 2014-07-15 03:20:30 UTC
We are getting same behavior 'Target Android version" incorrectly shows same value as "Minimum Android version".

Environment Info:
Xamarin Studio
Version 5.2 (build 378)
Installation UUID: 0b7eaebc-a0ed-4b58-81df-91e378cad28c
Runtime:
	Mono 3.6.0 ((no/5ff701f)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 306000037

Apple Developer Tools
Xcode 4.6.2 (2067.2)
Build 4H1003

Xamarin.iOS
Version: 7.9.2.34 (Enterprise Edition)
Hash: 03abd79
Branch: 
Build date: 2014-07-07 16:37:04-0400

Xamarin.Android
Version: 4.14.0 (Enterprise Edition)
Android SDK: /Android SDK/android-sdk-macosx
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Xamarin.Mac
Version: 1.8.1.0

Build Information
Release ID: 502000378
Git revision: f51502c8321aeb2e67a445ebddba4354c221c7c8
Build date: 2014-07-14 16:19:43-04
Xamarin addins: 8d7daca6f45b75639988b66d681ec7cdb9641f9b

Operating System
Mac OS X 10.10.0
Darwin Admin-Macs-Mac-mini.local 14.0.0 Darwin Kernel Version 14.0.0
    Mon Jun 30 11:54:42 PDT 2014
    root:xnu-2782.1.20~3/RELEASE_X86_64 x86_64
Comment 4 Lluis Sanchez 2014-07-15 03:35:15 UTC
Greg, you need to bump the md-addins reference in monodevelop, otherwise the fix is not included in the build. Fixed in 5.2.0.379.
Comment 5 Prashant manu 2014-07-15 06:19:52 UTC
Checked, now Target Android version" and  "Minimum Android version" values saved correctly. Screencast: http://screencast.com/t/Wu2PddXcOdc

Environment Info:
Xamarin Studio
Version 5.2 (build 379)
Installation UUID: 0b7eaebc-a0ed-4b58-81df-91e378cad28c
Runtime:
	Mono 3.6.0 ((no/5ff701f)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 306000037

Apple Developer Tools
Xcode 4.6.2 (2067.2)
Build 4H1003

Xamarin.iOS
Version: 7.2.6.22 (Enterprise Edition)
Hash: b983743
Branch: 
Build date: 2014-07-13 20:15:09-0400

Xamarin.Android
Version: 4.14.0 (Enterprise Edition)
Android SDK: /Android SDK/android-sdk-macosx
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Xamarin.Mac
Version: 1.8.1.0

Build Information
Release ID: 502000379
Git revision: e797f287ff084be87a252fec5fcc1c79c53bd422
Build date: 2014-07-15 03:41:44-04
Xamarin addins: e40cad220f133f3ced5a76d33649afee4d1358c1

Operating System
Mac OS X 10.10.0
Darwin Admin-Macs-Mac-mini.local 14.0.0 Darwin Kernel Version 14.0.0
    Mon Jun 30 11:54:42 PDT 2014
    root:xnu-2782.1.20~3/RELEASE_X86_64 x86_64