"此模板需要最低SDK版本"-Android Eclipse ADT插件报告错误的最小SDK.

Har*_*nji 5 eclipse android eclipse-adt

我刚刚从我的git repo导入了我刚刚结账的旧Android项目.

当我尝试使用Eclipse创建新的Master/Detail Flow Activity时:

New > Android > Android Activity > Login Activity > Next 
Run Code Online (Sandbox Code Playgroud)

Eclipse报告我错误说:

This template requires a minimum SDK version of at least 3, 
and the current min version is 1
Run Code Online (Sandbox Code Playgroud)

我的实际参赛作品在哪里AndroidManifest.xml:

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="19" />
Run Code Online (Sandbox Code Playgroud)

有人能告诉我,我在这里失踪了吗?

我使用的Android SDK Tools是版本23.2Android SDK Platform-Tools版本19.0.1.

Har*_*nji 20

看起来Eclipse会在您重构影响您的条目的代码时执行此操作AndroidManifest.xml.

所以,在做任何其他事情之前,Close你可以open通过双击它来从工作空间和项目再次执行项目.这将强制Eclipse重新初始化您的项目,还将运行Lint&Other检查.

如果这不起作用,请尝试其他用户建议的任何上述内容.