I have already referred to this question Eclipse Problems View not showing Errors anymore But that does'nt seem to solve my problem
My current configuration
Windows 7 64-but Eclipse Java EE IDE For Web Developers (Tried a few versions Juno, Indigo)
Eclipse keeps throwing errors "R cannot be resolved to a variable" but does'nt show errors in xml files.
A quick example
<EditText
android:id="@+id/srchUsers"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginBottom="0dp"
android:layout_marginTop="10dp"
android:background="@android:color/white"
android:ems="10"
android:hint="Search Users"
android:inputType="text"
android:maxLines="1"
android:paddingLeft="10dp"
android:drawableLeft="@drawable/ic_action_search_black"
>
The drawable ic_action_search_black does'nt exist, but eclipse does not show any errors other than the dreaded "R cannot be resolved". I have tried most of the solutions like checking problems view, markers view, making sure all errors are set to be shown etc. But nothing worked.
I thought it could be eclipse 64 bit, but 32-bit versions of eclipse on Win 7 64-but gives me the same errors.
However, i have another old machine running Win 7 32-bit with the same eclipse (32 bit ofcourse); I can see errors in layout(xml) files and its pretty easy for me to debug.
I am losing valuable time in debugging with my current development machine.
Any help is highly appreciated.
Eclipse settings
Window -> Preferences ->Android -> Build -> Output is set to verbose
Problems Pane -> Configure Contents -> Show all items is checked
Markers Pane - > Configure Contents - > Show all items is checked
Notice the image shows R cannot be resolved, there are no xml errors shown, where as there is clearly an xml error.