Eclipse : No Graphical Layout for Android XML Files

This problem occurred all of a sudden in my Eclipse(which happens to be fully updated) but it seems that my Graphical Layout editor is gone for ever.

I do not know what happened but graphical layout shows nothing even if there is code in XML. Even layout files of my previous projects stopped coming in the graphical editor.

This is all it shows me.

I even tried right clicking on the XML file in the package explorer and "Open with Default Editor" but still it does not work.

Can anyone PLEASE help ? I am totally stuck and it really VERY cumbersome to write all the layout codes in xml manually!

Answers


Make update android sdk tools, or delete old sdk tools and install new sdk tools.


In case others come across the same problem, here is what worked for me :

I had to click and select the API version on the top-right corner of the graphical editor and then the layout would be displayed.

Moreover, I moved on to Eclipse Juno and (thankfully) haven't come across this problem in Juno.


Need Your Help

Escape space in filepath

python regex

I'm trying to write a python tool that will read a logfile and process it

Ordering a mysql table by date when the column is declared varchar

mysql sql

I need to sort a table by date (descending), but all columns in the table are varchar, so I need to manipulate the data on the fly for sorting it correctly.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.