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

查看:21
本文介绍了无法运行 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 Problem.

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

我不知道怎么了.

推荐答案

我修复了它.在清单中,我指定了 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天全站免登陆