Android Lint erroneously thinks min SDK version is 1 Android Lint erroneously thinks min SDK version is 1 android android

Android Lint erroneously thinks min SDK version is 1


I have the same problem, and my solution is:

Right click on the project folder > Android tools > Clear Lint Markers

"Run Android Lint" makes some markers and the markers cause this error.


"Clear Lint Markers" in the Accepted Answer removed the error temporarily, but it kept coming back every time I saved a file in the affected project.

To make it stop reporting that error, I had to disable the lint check altogether:

Right click project -> Properties -> Android Lint PreferencesSearch for "minSdk" in the search boxClick on "UsesMinSdkAttributes"Click the "Ignore All" button at the bottom.

Clean and rebuild the project, and Eclipse/ADT will no longer run the lint check for minSdk on your project.


Make sure you have android: namespace identifier together with minSdkVersion attribute. Like this:

android:minSdkVersion="8".

When creating a project based on some Android sample projects (like BluetoothChat) the namespace gets omitted and confuses Lint. Then even clearing Lint Markers doesn't truly cure the issue as they reappear after running Lint again, which happens automatically pretty often.

Note: this was verified with samples revision 1 for API16