I am using Android 4.2.2. After installing the latest SDK, when I open the eclipse I could see all the projects having the problem during the build. Following is the error i
Checked both projects project.properties files and they had version 18 as target, version 16 nowhere to be found. Restarting Eclipse somehow solved the issue.