Java 文件有一个带有 J 的红色圆圈(android studio)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/31898342/
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
Java files have a red circle with J in it (android studio)
提问by proselyte6
I downloaded a project from GitHub, in which me and a friend are working on. Everything was working fine and all of a sudden a red circle with a "J" in it was on the Java files' icons and the run app button become grayed out. Please help me!
我从 GitHub 下载了一个项目,我和一个朋友正在这个项目中工作。一切正常,突然间,Java 文件的图标上出现一个带有“J”的红色圆圈,运行应用程序按钮变灰。请帮我!
回答by thodorisbais
I hope you have already found a workaround, but if not/for future reference:
I assume we 're talking about this icon: .
If thisanswer (or thispost) don't seem to be a solution for you, then you should probably go for Configuring Content Roots(docs based on IntelliJ, but thisanswer should conform the docs to Android-Studio).
我希望您已经找到了解决方法,但如果没有/为了将来参考:
我假设我们正在谈论这个图标:。
如果这个答案(或这篇文章)似乎不是你的解决方案,那么你可能应该去配置内容根(基于 IntelliJ 的文档,但这个答案应该使文档符合 Android-Studio)。