Newbie here. I have simple app for which I can view the layout xml with the text editor view, but the layout area is blank when using the graphical view.
I started by creating a simple app and, using the graphical layout editor, dragged a couple widgets into the layout. Then I successully ran the app.
Next, I went back to the graphical editor and double clicked on one of the widgets. It opened the text view for me and highlighted the text for the widget. Nice.
Then, I clicked the tab at the bottom to switch back to the graphical view (note: no changes to xml text). It now displays a blank area for the layout. The menu of widgets does display off to the left.
It also displays a bunch of errors in the bottom which don't make any sense to me; here's a snip:
java.lang.NoSuchMethodError: java.util.LinkedHashMap.eldest()Ljava/util/Map$Entry;
at android.util.LruCache.trimToSize(LruCache.java:206)
at android.util.LruCache.evictAll(LruCache.java:306)
at android.widget.SpellChecker.resetSession(SpellChecker.java:141)
at android.widget.SpellChecker.setLocale(SpellChecker.java:147)
at android.widget.SpellChecker.<init>(SpellChecker.java:112)
at android.widget.Editor.updateSpellCheckSpans(Editor.java:461)
at android.widget.Editor.onAttachedToWindow(Editor.java:212)
...
I'm using eclipse helios SR2,
android platform is 4.1
(I downloaded eclipse, java, android sdk about a week ago)
I started by creating a simple app and, using the graphical layout editor, dragged a couple widgets into the layout. Then I successully ran the app.
Next, I went back to the graphical editor and double clicked on one of the widgets. It opened the text view for me and highlighted the text for the widget. Nice.
Then, I clicked the tab at the bottom to switch back to the graphical view (note: no changes to xml text). It now displays a blank area for the layout. The menu of widgets does display off to the left.
It also displays a bunch of errors in the bottom which don't make any sense to me; here's a snip:
java.lang.NoSuchMethodError: java.util.LinkedHashMap.eldest()Ljava/util/Map$Entry;
at android.util.LruCache.trimToSize(LruCache.java:206)
at android.util.LruCache.evictAll(LruCache.java:306)
at android.widget.SpellChecker.resetSession(SpellChecker.java:141)
at android.widget.SpellChecker.setLocale(SpellChecker.java:147)
at android.widget.SpellChecker.<init>(SpellChecker.java:112)
at android.widget.Editor.updateSpellCheckSpans(Editor.java:461)
at android.widget.Editor.onAttachedToWindow(Editor.java:212)
...
I'm using eclipse helios SR2,
android platform is 4.1
(I downloaded eclipse, java, android sdk about a week ago)