I have updated my SDK and ADT to the latest version, I have also update the Eclipse to Kepler the latest one after
SDK
ADT
Eclipse
Kepler
My issue was that I had android:orientation misspelled in my activity_main.xml file and I was getting this error. I fixed the spelling and problem went away! So make sure activity_main.xml doesn't have any errors in it.