Error While Opening The Eclipse Android Layout Editor
Since yesterday everytime I open my layout Editor in Eclipse for the Android UI I get the following exception: Unhandled event loop exception java.lang.StackOverflowError
Solution 1:
The same thing happened to me, and I had to dig a lot before I found a solution. In my styles.xml I had an entry where the name and parent attributes were identical:
<stylename="MyHeader"parent="MyHeader"><itemname="android:background">@drawable/header_background</item></style>
By removing the parent attribute the layout editor finally worked again:
<stylename="MyHeader"><itemname="android:background">@drawable/header_background</item></style>
Solution 2:
I have not had that particular error, but I have had various project corruption problems related to resources. Sometimes cleaning the project and rebuilding fixes it. Sometimes I have had to revert some project files in subversion. Sometimes just relaunching eclipse fixes things. There is also a Fix Project Properties item in the Android Tools of the context menu that has helped once or twice.
Post a Comment for "Error While Opening The Eclipse Android Layout Editor"