I have the following in my AndroidManifest.xml;
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cmb.app"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:targetSdkVersion="15" android:minSdkVersion="8" />
</manifest>
However, Eclipse gives me the warning;
<uses-sdk> should specify a target API level (the highest verified
version; when running on later versions, compatibility behaviors may
be enabled) with android:targetSdkVersion="?"
My project build target is Google APIs 4.0.3 (15), and I originally had the targetSdkVersion as 8, but changing it to 15 has not removed the warning.
Can anyone shed some light on this?
Basically, the problem was that changes to xml files were not being noticed by the validator in Eclipse (although I can’t confirm that the issue is actually with Eclipse). This happened for a number of files and re-building did not help. I ended up reloading the project or deleting and re-writing the files to fix it.