Ahmed Faisal
Ahmed Faisal

Reputation: 4427

No Graphical layout editor in Android

I imported an Android project in Eclipse. Somehow, the layout editor does not open automatically when I open a layout! After I open it, it gives me the 'Graphical Layout' tab but it is still an empty frame! The only difference I see from my previuos projects is that the top drop-down menu has an option called "Locale" while the older ones had "Any locale".

Please advise.

Upvotes: 2

Views: 4871

Answers (4)

Philip Rego
Philip Rego

Reputation: 648

It wasn't working for me no matter what I did. But it started working again when I deleted a bunch of projects in my workspace. My theme for eclipse was also deleted when I did this too, I'm not sure why.

Upvotes: 0

AWT
AWT

Reputation: 3717

I have the same problem, it goes away if I switch to XML view and make a single edit, and then save. Then switch back to graphical layout and the error is gone.

Upvotes: 0

Mausam
Mausam

Reputation: 167

Restart eclipse. I always close eclipse when this error happens and restarting it after that and my problem got resolved.

Upvotes: 4

Tim
Tim

Reputation: 5767

Something similar happened to me today and I found that if I closed the window/tab and opened again a few times it fixed itself. It was annoying though. Also try going into the xml tab and edit something in there and go back to the Graphical Layout.

Something similar happened to me a few versions of ADT for eclipse ago.

EDIT Ok it has just happened to me once again. What I did to resolve was to change the Android version to something else. It's the drop down box beside the Create... button. That made it reappear

Upvotes: 3

Related Questions