无法运行Eclipse项目 - 找不到API数据库 [英] Can't run Eclipse project - can't find API database

查看:305
本文介绍了无法运行Eclipse项目 - 找不到API数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码编译。代码中没有错误。我下载了完整的SDK。在运行我得到这个错误:

My code compiles. There is no errors in code. I downloaded full SDK. On run I get this error:

Can't find API database; API check not performed        

它位于位置:行1,键入Android Lint问题。

And it's in Location: line 1, type Android Lint Problem.

我不知道有什么问题。

I have no idea whats wrong.

推荐答案

我修正了在清单中,我已经在uses-sdk minSdkVersion指定了但是没有targetSdkVersion。添加了targetSdkVersion参数后,它编译并运行。

I fixed it. In manifest I had in uses-sdk minSdkVersion specified but I didn't have targetSdkVersion. After addition of the targetSdkVersion parameter it compiled and ran.

这篇关于无法运行Eclipse项目 - 找不到API数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆