Bug 14971 - Android designer fails on older SDK tools without an actionable error message
Summary: Android designer fails on older SDK tools without an actionable error message
Status: RESOLVED DUPLICATE of bug 14959
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 4.0.13
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Lluis Sanchez
Depends on:
Reported: 2013-09-24 19:28 UTC by PJ
Modified: 2013-09-25 10:31 UTC (History)
1 user (show)

Tags: error improvement
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 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:

Description PJ 2013-09-24 19:28:37 UTC
Possible dupe of bug 14865 and/or bug 14959


  Android designer fails to load template axml files.

  Error: https://gist.github.com/pjbeaman/2486273c27f34c6f26b5

  XS Logs: https://gist.github.com/pjbeaman/b84dbf68dc000bdb2011

Android SDK versions

  SDK Tools: 21.1
  SDK Platform-tools: 16.0.1

I then upgraded my SDK to the following versions:

  SDK Tools: 22
  SDK Platform-tools: 16.0.2

The designer now loads the template project axml file, but the log has a bunch of exceptions, the NRefactory ones happen at project load though, not with the designer:

This is of course still out of date for the SDK, so I upgraded more. New versions:

  SDK Tools: 22.2.1
  SKD Platform-tools: 18.0.1
  SDK Build-tools: 18.1

Still works. Same exceptions.

So I guess we don't handle   SDK Tools: 21.1 and SDK Platform-tools: 16.0.1 any more. What's the minimum version of the SDK to support (and how do we want to handle out of date SDK versions when loading projects in the designer?). If we just want to improve the error in the future we can downgrade this bug to an enhancement.

The current behavior does not really lead the user to update their SDK version.

XS 4.0.13 07afec667f7be5d0ee511eb7115bbac6377fbae8
Comment 1 Lluis Sanchez 2013-09-25 10:31:03 UTC

*** This bug has been marked as a duplicate of bug 14959 ***