Monday 19 December 2011

Why Android Layout file opened as XML?


When I'm trying to open Android Layout File(Double Click on it), it opened as XML file, so, why?

The reason is android SDK sometime make the developer crazy with some bugs like this" Opening layout file as XML and design instead of Graphical Layout"










 The solution is:
Right Click on the Layout file -> Open with -> Android Layout Editor















Mohammad Abu Hmead

Open android xml layout

When I'm trying to open Android Layout File(Double Click on it), it opened as XML file, so, why?
The reason is android SDK sometime make the developer crazy with some bugs like this" Opening layout file as XML and design instead of Graphical Layout"

The solution is:
Right Click on the Layout file -> Open with -> Android Layout Editor

Sunday 18 December 2011

Error within Debug UI: java.lang.reflect.InvocationTargetException

I this is a popup dialog contains this error "Error within Debug UI:  java.lang.reflect.InvocationTargetException",
I googled it, but I didn't found the solution.



I tried to delete the Project from the Projects Work space, and I reimported it, it worked fine.
so, the easiest solution is
"Delete the Project from the work space, Reimport it again to the work space"
The result: it will work 100%

Mohammad Abu Hmead