سؤال

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.

enter image description here

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!

هل كانت مفيدة؟

المحلول 2

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.

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top