Bug 23751 - Android SDK Tools 23.0.4 breaks the designer: "Disconnected from layout renderer"
Summary: Android SDK Tools 23.0.4 breaks the designer: "Disconnected from layout rende...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android Designer ()
Version: 3.7
Hardware: PC All
: Normal major
Target Milestone: ---
Assignee: Bugzilla
: 23740 23831 ()
Depends on:
Reported: 2014-10-10 17:45 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2014-10-15 08:33 UTC (History)
9 users (show)

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

Log files from Visual Studio (3.65 KB, application/zip)
2014-10-10 17:45 UTC, Brendan Zagaeski (Xamarin Team, assistant)

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:

Description Brendan Zagaeski (Xamarin Team, assistant) 2014-10-10 17:45:00 UTC
Created attachment 8381 [details]
Log files from Visual Studio

The Android SDK Tools update to version 23.0.4 breaks the Xamarin Android designer once more (as previously in bug 18683).

For users who have upgrade the Android SDK Tools to version 23.0.4, the designer will not be able to open `.axml` files. The designer will instead display an error:

> Disconnected from layout renderer
> Please close and open the file again.

I believe a fix for this has already been committed to the development branches, but the fix has not yet been released.

## Workaround

1. Uninstall the Android SDK Tools version 23.0.4 from the Android SDK Manager.

2. Unzip the older Android SDK Tools version 23.0.2 [1] into the Android SDK directory. It should create exactly 1 folder named "tools" in the top level of the Android SDK directory.

> [1] http://dl-ssl.google.com/android/repository/tools_r23.0.2-windows.zip

See also the first post in this old forum thread for a few more details about locating the Android SDK directory:

## Additional version information

Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51641

Affects all current Xamarin versions, including the current alpha version:

Xamarin   4.0.381.0 (cda47a4f438cef077d8f5c0eb79fb5df835c6b99)
Xamarin.Android (af4cb1e950dcbc00c3d2c365b24efc1b9fb93671)
Xamarin.iOS (13fec5ef6bd1d2992ae58cc5147d0e3f988792ca)
Comment 2 Brendan Zagaeski (Xamarin Team, assistant) 2014-10-10 18:15:37 UTC
The download link for the Mac version of the Android SDK Tools version 23.0.2
is here:
Comment 3 Brendan Zagaeski (Xamarin Team, assistant) 2014-10-10 18:31:09 UTC
*** Bug 23740 has been marked as a duplicate of this bug. ***
Comment 4 M Stone 2014-10-13 12:22:23 UTC
When updating to 23.0.5 VisualStudio 2013 crashes before it fully opens. Xamarin Studio and VisualStudio 2012 can open but .axml files show the aforementioned error message.
Comment 5 Arpit Jha 2014-10-15 02:54:26 UTC
*** Bug 23831 has been marked as a duplicate of this bug. ***
Comment 6 Prashant manu 2014-10-15 06:21:23 UTC
We have checked this issue and designer is opening correctly without showing rendering error. 
Screencast(Win): http://screencast.com/t/GVVeFaXt
Screencast(MAC): http://screencast.com/t/UKrnY7Qh

Environment Details:
All VS/Win and MAC
Xamarin Studio Version 5.5.2 (build 0)
Git revision: a5887be38215a6cdd3f349e102ef82a1c4f950a4
Xamarin addins: 069ddd29bb70a42238142eee9bac21a5e4b2f9f9
Xamarin (9e6752d7279ca6b20eb4f728e50cdfaf4207da61)
Xamarin.Android (c0168255507205e3f50aba560ccf971c41a682ff)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS (6049af67092da016508817b895787e66f70f39ad)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 7 Prashant manu 2014-10-15 06:22:18 UTC
As per comment 6 closing this bug
Comment 8 Horácio J. C. Filho 2014-10-15 08:33:16 UTC
Xamarin Android is not available to download in update channels, in Beta channel have the version.