I'm getting the following error in Android studio. The sqlitedatabase.close() method is available since API Level 1 but the android studio ide fails to detect that.

I'm getting the following error in Android studio. The sqlitedatabase.close() method is available since API Level 1 but the android studio ide fails to detect that.

As Ahmad said, it looks like a bug. Meanwhile, try releaseReference() which is equivalent to see if the same happens.
UPDATE:
Supposing you were in Eclipse, to re-enable checks (found here):
Lint puts the file "lint.xml" to the project with the dependant items.
<lint>
<issue id="UnusedResources">
<ignore path="res\layout\my_layout.xml" />
</issue>
<lint>
Unfortunatelly, editing and saving this file is not enough. You have to close and re-open the project or even Eclipse.
Not sure if Android Studio does the same.
UPDATE 2:
In Android Studio, you can see all the Lint based inspections and tune them in 'Settings | Inspections | Android | Lint'.
Or you could use the command line tool in the SDK tools/ directory called lint.
Check this:
There seems to be an issue, when the project directory is not directly under the workspace directory.
As of today the bug should be fixed in release 20: http://code.google.com/p/android/issues/detail?id=27527
In that case, the problem was solved by switching workspace to a fresh one. It probably was a problem with settings left over from previous lint versions
A couple of days ago, an updated version appeared (build AI-130.687321, dated May 24 2013), where the issue is fixed.