Bug 19209 - Android Designer is broken on Alpha channel of Xamarin Studio
Summary: Android Designer is broken on Alpha channel of Xamarin Studio
Status: RESOLVED DUPLICATE of bug 19361
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.13.x
Hardware: Macintosh Mac OS
: High blocker
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2014-04-21 19:15 UTC by Chris Hardy [MSFT]
Modified: 2014-05-02 13:50 UTC (History)
2 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 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:
RESOLVED DUPLICATE of bug 19361

Description Chris Hardy [MSFT] 2014-04-21 19:15:38 UTC
Xamarin Studio 4.2.3 works fine with the Android designer, Xamarin Studio 4.3.4.0 gets the following error: 

INFO [2014-04-21 19:12:04Z]: ERROR: java.lang.NoSuchMethodError: com.android.sdklib.devices.DeviceManager.getDevices(I)Ljava/util/List;
INFO [2014-04-21 19:12:04Z]: 	at mono.android.AndroidDesignerHost.getDevices(AndroidDesignerHost.java:108)
INFO [2014-04-21 19:12:04Z]: 	at mono.android.AndroidDesignerHost.processMessage(AndroidDesignerHost.java:174)
INFO [2014-04-21 19:12:04Z]: 	at mono.android.MessageListener.executeMessage(MessageListener.java:87)
INFO [2014-04-21 19:12:04Z]: 	at mono.android.MessageListener$Runner.run(MessageListener.java:44)
INFO [2014-04-21 19:12:04Z]: 	at java.lang.Thread.run(Thread.java:695)
INFO [2014-04-21 19:12:04Z]: 
INFO [2014-04-21 19:12:04Z]: java.lang.NoSuchMethodError: com.android.sdklib.devices.DeviceManager.getDevices(I)Ljava/util/List;
INFO [2014-04-21 19:12:04Z]: 	at mono.android.AndroidDesignerHost.getDevices(AndroidDesignerHost.java:108)
INFO [2014-04-21 19:12:04Z]: 	at mono.android.AndroidDesignerHost.processMessage(AndroidDesignerHost.java:174)
INFO [2014-04-21 19:12:04Z]: 	at mono.android.MessageListener.executeMessage(MessageListener.java:87)
INFO [2014-04-21 19:12:04Z]: 	at mono.android.MessageListener$Runner.run(MessageListener.java:44)
INFO [2014-04-21 19:12:04Z]: 	at java.lang.Thread.run(Thread.java:695)
ERROR [2014-04-21 19:12:04Z]: Connection failed
Xamarin.Designer.DesignerException: The operation failed due to an internal error: com.android.sdklib.devices.DeviceManager.getDevices(I)Ljava/util/List;.
  at Xamarin.AndroidDesigner.JavaProcessConnection.GetResponse (Xamarin.AndroidDesigner.BinaryMessage message, Int32 timeout) [0x001ed] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.3.3-branch/e2e118a5/source/md-addins/MonoDevelop.MonoDroid/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner/JavaProcessConnection.cs:464 
  at Xamarin.AndroidDesigner.JavaProcessConnection.DoConnect () [0x00158] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.3.3-branch/e2e118a5/source/md-addins/MonoDevelop.MonoDroid/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner/JavaProcessConnection.cs:209 
INFO [2014-04-21 19:12:04Z]: CodeTemplateService: No user templates, reading default templates.


Full version information here: https://gist.github.com/chrisntr/a098c036ea68123348df

Android SDK Manager versions here: http://screencast.com/t/wnnbiwsp
Comment 1 Lluis Sanchez 2014-05-02 13:50:15 UTC
Dup

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