Android的工作室 - 在项目中的所有文件名都是红色,但没有错误(Android Studio - All file names in project are red but there are
来源:互联网 发布:vb教程ppt 编辑:程序博客网 时间:2024/05/16 10:07
I imported a ADT Project in Android Studio. I got a ton of errors, but I could fix them all. I don't think the "how" is important in this case, I wouldn't be able to recall all the errors anyways. The project runs now without errors, but somehow Android Studio marks all files red. Just the filenames, there are no errors in the code. I tried cleaning and restarting.
Did someone experience something like this before? Or maybe a related problem with IntelliJ someone could solve?
Edit:
It was the version control. The project was unversioned but in a SVN controlled folder. Thats what the red was indicating. A solution could be to copy the project to a different folder or to add the files to version control.
Perhaps you are seeing the File Status colors that Android Studio uses to show the status of the file. Open Settings and go to Editor > Colors & Fonts > File Status. Here you can see what all of the different colors mean. My guess is that your reddish files are that color because you have not yet added them to source control.
本文地址:IT屋 » Android Studio - All file names in project are red but there are no errors
我进口ADT项目的Android工作室。我有一吨的错误,但我可以解决他们所有。我不认为“怎么做”是在这种情况下,重要的是,我不能反正记得所有的错误。该项目现在运行没有错误,但不知何故,Android的工作室,标志着所有文件红色。只是文件名,也有在code中没有错误。我试图清洗和重新启动。
是否有人领教过这样的事情?或者,也许一个相关问题的IntelliJ有人可以解决?
编辑:
这是版本控制。该项目未版本控制,但在一个SVN控制的文件夹。那是什么红得表示。一个解决办法是将项目复制到另一个文件夹或将文件添加到版本控制。
也许你看到了Android的工作室用来显示文件的状态,文件状态的颜色。打开设置,然后转至编辑>颜色和放大器;字体>文件状态。在这里,你可以看到所有的不同颜色的含义。我的猜测是,你微红文件是颜色,因为你还没有被添加到他们到源代码管理。
本文地址:IT屋 » Android的工作室 - 在项目中的所有文件名都是红色,但没有错误
- Android的工作室 - 在项目中的所有文件名都是红色,但没有错误(Android Studio - All file names in project are red but there are
- android studio 所有项目文件名都变成了红色
- vue中出现 There are multiple modules with names that only differ in casing的问题
- Found 2 versions of android-support-v4.jar in the dependency list,but not all the versions are ident
- The project cannot be built until build path errors are resolved 以及 Android项目没有R文件,没有.apk文件
- CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
- android studio signatures are inconsistent
- There are 1 datanode(s) running and no node(s) are excluded in this operation.错误
- 电脑不小心重启或死机,然后再打开android studio,所有方法都是红色的,没找到
- There are 2 audio listeners in the scene.的问题
- 编写android的HelloWorld程序时,Eclipse出现错误:The project cannot be built until build path errors are resolved
- ionic创建项目报错:Couldn't find ionic.config.json file. Are you in an Ionic project?
- ionic创建项目报错:Couldn't find ionic.config.json file. Are you in an Ionic project?
- 在linux中出现there are stopped jobs 的解决方法
- 在linux中出现there are stopped jobs 的解决方法
- 在linux中出现there are stopped jobs 的解决方法
- Android:Eclipse 安装Genymotion插件的时候出现 There are no categorized items
- Android:Eclipse 安装Genymotion插件的时候出现 There are no categorized items
- [生存志] 第63节 樊迟司马耕
- jquery:css()
- Java编程思想--第四章 控制执行流程
- Nginx实战(五) 反向代理
- Mysql 字符集问题
- Android的工作室 - 在项目中的所有文件名都是红色,但没有错误(Android Studio - All file names in project are red but there are
- Nginx实战(六) 参数优化
- Spring实现AOP的4种方式
- sql函数——笔记
- ExecutorService 的理解与使用
- 反调试技术总结
- JMeter学习-019-JMeter 监听器之【聚合报告】界面字段解析及计算方法概要说明
- Cookie、Session机制(太精彩了!!)
- iOS 修改UIAlertController的按钮字体颜色