Android eclipse - 项目名称旁边的感叹号

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5895860/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:16:38  来源:igfitidea点击:

Android eclipse - Exclamation mark next to project name

androideclipseproject

提问by theblitz

I changed the dependent projects of one of my project and moved one of my files there as an experiment. I now moved it back but the project won't run. It tells me I have an error even though I can't see one and "Clean project" doesn't help. However, the project has an exclamation mark next to it. What does that mean?

我更改了我的一个项目的相关项目并将我的一个文件移到那里作为实验。我现在将其移回,但该项目将无法运行。它告诉我我有一个错误,即使我看不到一个错误并且“清理项目”也无济于事。但是,该项目旁边有一个感叹号。这意味着什么?

回答by Daniel Novak

Check Errors window. My first idea would be that no build target is set. Right click the Project, select Android and make sure that a Build Target is checked. Sometimes you need to uncheck it, select a different API, apply settings, and then again select the API that was originally selected.

检查错误窗口。我的第一个想法是没有设置构建目标。右键单击项目,选择 Android 并确保选中了构建目标。有时您需要取消选中它,选择不同的 API,应用设置,然后再次选择最初选择的 API。