Eclipse error alert on opening Graphics Layout
-
21-12-2019 - |
Question
Whenever I open Graphics Layout of xml file Eclipse pops up an error message as shown below. I started having this problem after I installed SDK for android 4.4 kitkat and updated SDK tools.
I tried solutions found on other SO questions but they did not solve my issue. Any idea to solve this?
EDIT : Error detail "An internal error has occurred. After scene creation, #init() must be called".
Solution
Its a bug reported here.
One current solution is to downgrade your build to 4.3 until that reported bug is resolved.
Workaround:
switch to Android-18 in Graphical Layout (green Android top-right).
OTHER TIPS
After installing the new ADT (22.3.0.v201310242005-887826) which supports Android 4.4 (kitkat), I got the same error.
Then Set the API version in the UI preview to something lower than 19. The error only shows up for version 19.enter image description here
If this bug still trouble you, A workround is never preview layouts on multiple device at same time, on preview menu, choose manual preview, it's works fine on API 19.