Cannot start an Eclipse project - Cannot find API database

My code is compiling. There are no errors in the code. I downloaded the full SDK. When I start, I get this error:

Can't find API database; API check not performed 

And this is in Location: line 1, enter Android Lint Problem.

I have no idea what happened.

+7
android eclipse api sdk
source share
4 answers

I fixed it. In the manifest, I used minsdkVersion in -sdk, but I did not have targetSdkVersion. After adding the targetSdkVersion parameter, it is compiled and launched.

+5
source share

I decided it differently. In the manifest, I:

 <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="19" /> 

The problem was that after installing the new Eclipse ADT in the "Android SDK Manager", I did not have ANY SDK platform installed. So I installed the API 19K platform and the documentation and sources of API 19. I would also install API 9, but for some reason it is not in the SDK Manager.

In any case, after that I edited the android: minSdkVersion = "10" → [save] → changed to android again: minSdkVersion = "9" → [save] ... And the problem disappeared.

+16
source share
  • go to Manifest
  • click Uses Sdk
  • change Min SDK version to 9 or something else and press ctrl+s (save)
  • the error should disappear now
  • change the Min SDK version to the original value

This solved it for me.

+2
source share

In Package Explorer, right-click on a project that displays an Android Lint problem. Then select the Android tools option - from now on, select Clear Lint Markers

This should fix the error.

+1
source share

All Articles