Desktop no head
来源:互联网 发布:淘宝提醒我手机有木马 编辑:程序博客网 时间:2024/06/06 04:49
在导入桌面的安卓项目到Eclipse中的时候,刚开始没有异常,编译工程运行后,工程名后出现“DeskTop no head”,工程里面的文件夹前面都出现“>”,经过试验,发现是因为Eclipse 有版本控制插件,解决方法:导入外部项目的时候,拷贝一份到workspace里面。下面是stackoverflow的原文:
Your Eclipse has a version control plugin installed (probably Subclipse, a client plugin for subversion, or perhaps another one).
"NO HEAD" I believe means that Eclipse/Subclipse can no longer find the latest copy of your project since you moved it outside of there. If you right-click on one of those icons, you should discover some context menu commands that are version control-related.
Normally in Eclipse, you try to do as much as possible within its graphical interface, otherwise it can get confused when you delete/move/rename files outside of it. In those cases where you haven't done that, you often have to right click within the Eclipse project explorer and select "Refresh". And in those cases where a version control system is involved, it can be a bit more complex, but it's also a good sign because that means subversion probably kept a backup copy of that project (should you ever decide to revert what you just did).
Also whenever you import a project into Eclipse, it's a good idea to make a copy of it into your workspace, otherwise it can get confusing when you have to delete a project. As you must have found out already, Eclipse can be annoying when you delete a project (without deleting from disk) and when you immediately try to recreate another project by the same name in the same workspace.
That's the main reason I got into the habit of copying the contents of a project whenever I do an import. That way, I don't have to remember if I did, or did not make a copy, and if I have ever have to delete a project to start afresh, I don't need to worry about deleting the original source of what I've imported (even if tick the checkbox to also delete from disk).
转自:http://stackoverflow.com/questions/15781577/what-is-meaning-of-no-head-in-eclipse-for-android-app- Desktop no head
- Desktop Search? No, Thanks!
- NO HEAD链表(待修正版)
- no response after clicking clone in github desktop
- head
- head
- head
- head
- HEAD
- HEAD
- error: No rule to make target `c:/Users/Administrator/Desktop/LED_mainWindow/pcb_view.ui', needed by
- Windows Server 2008 R2 remote desktop no audio capture device detected
- No rule to make target `/Users/apple/Desktop/Jayon/Cocos2dx/cocos2d-2.0-x-2.
- clang: error: no such file or directory: '/Users/bigxin/Desktop/not file xxx
- Redmine访问SVN版本库报错!No such file or directory - svn list --xml ""@HEAD
- 读《The Building a head thing Business When about there Are No》《创业维艰》
- Eclipse中的项目名后NO-HEAD、项目名后不显示maven.日期版本号的问题
- google desktop
- binbinyang---百度地图androidAPI Android SDK v3.5.0------------2.定位功能
- Java:输入年份和月份打印出相应的日历表
- linux中查看nginx、apache、php、mysql配置文件路径的方法
- QTP对Web页面上的文本框赋值的技术大全
- Linux程序设计的一些小工具使用
- Desktop no head
- 树懒_移动开学笔记_day02.2_web_Javascript基础
- asp.net 缓存
- 程序启动让LaunchImage全屏显示,状态栏隐藏,启动完成再显示
- [转载]关于分布式系统的数据一致性问题
- 我的第一个博客
- 2015071901 - 站军姿
- 图论相关算法知识总结
- 什么才是优秀的用户界面设计