Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin - disconnected from layout renderer

I just downloaded xamarin studio. I get an error message "disconnected from layout renderer please close the file and try again" whenever i open a axml in the layout folder. I can view the source but can't go to the design tab to add controls. Closing the filed does not work.

I'm not sure how to find what version of xamarin.android i'm using but I just downloaded last night. When I go to the SDK manager it tells me my Android SDK Tools are version 23.0.4.

I found this old thread on the same topic. I tried renaming my tools folder and downgrading but that didnt' work either. It told me I need tools of at least version 22.

http://forums.xamarin.com/discussion/14344/disconnected-from-layout-renderer-error-after-updating-android-sdk-tools-to-version-22-6

I've tried uninstalling Xamarin Studio and reinstalling and that didn't help. I do have Visual Studio 2013 with update 3 installed too. But then I also tried installing Xamarin Studio on another laptop with Visual Studio 2012 and got the exact same problem.

Note: this error displays in both Visual Studio and Xamarin Studio.

I really hope I can get this resolved as i'm evaluating Xamarin for 2 companies. Any help is greatly appreciated.

-Randy

like image 501
randy Avatar asked Oct 10 '14 12:10

randy


2 Answers

The solution is here: http://forums.xamarin.com/discussion/comment/51784/#Comment_51784 Only this time, you need to downgrade from 23.0.4 to 23.0.2. Just found this out the hard way.

Cheers

like image 148
Balint Farkas Avatar answered Oct 26 '22 09:10

Balint Farkas


Thank you Balint! You made my weekend!!! Here is a direct link to the tools version that works.

http://dl-ssl.google.com/android/repository/tools_r23.2-windows.zip

like image 42
randy Avatar answered Oct 26 '22 10:10

randy