在导入桌面的安卓项目到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相关推荐

  1. docker desktop使用入门

    Docker是一个用于创建容器化应用程序的完整开发平台,而Docker Desktop for Windows是在Windows上开始使用Docker的最佳方式. 有关系统要求和稳定和边缘通道的信息, ...

  2. PDF编辑工具——PDF Desktop Converter 4 Professional

    管理和操作PDF的工具.PDF Desktop Converter 4 Professional可以生成,转换,提取,组合,分割合并PDF.新增加的OCR功能可以将扫描后的文件转变成可以检索和编辑的P ...

  3. MacBook如何用Parallels Desktop安装windows7/8

    虽然MacBook真的很好用,不过在天朝的国情下,有很多软件还是仅支持IE和windows系统下才有.所以有必要为自己的MacBook装一个windows版本的系统,之前试过用Boot Camp来建立 ...

  4. 在linux中只将“桌面”修改成“Desktop”而系统仍然使用中文

    在安装好centos系统以后,它的Desktop,Downloads等文件夹都是中文的,桌面,下载等,这样在使用cd命令时特别不方便 解决方法一:下载一个中文输入法,安装 解决方法二: 修改il8n文 ...

  5. matlab7.1(ERROR STARTING DESKTOP)解决

    matlab7.1(ERROR STARTING DESKTOP)解决 选择上图中某些主题之后(如VISTA LUNA)就出现这个问题,不知何故? 调整主题为XP默认就不出现这个问题!! 转载于:ht ...

  6. ArcGIS for Desktop入门教程_第二章_Desktop简介 - ArcGIS知乎-新一代ArcGIS问答社区

    原文:ArcGIS for Desktop入门教程_第二章_Desktop简介 - ArcGIS知乎-新一代ArcGIS问答社区 1 Desktop简介 1.1 ArcGIS for Desktop ...

  7. Module not found: Can‘t resolve ‘@babel/runtime/helpers/esm/extends‘ in ‘C:\Users\wdg\Desktop\Ant-De

    react 项目启动出现下面的报错: ./node_modules/_history@4.10.1@history/esm/history.js Module not found: Can't res ...

  8. 在Linux上使用图形界面的GitHub Desktop

    自从在Windows上使用了GitHub Desktop后,想要在Linux上也使用GitHub Desktop. 但是根据官方的Issue :GitHub Desktop for Linux? · ...

  9. ArcSDE、ArcGis Engine、ArcGis Desktop的授权配置

    ArcSDE.ArcGis Engine.ArcGis Desktop的授权配置 <?xml:namespace prefix = o ns = "urn:schemas-micros ...

  10. linux虚拟机镜像_无树莓派硬件体验:虚拟机安装 Raspberry Pi Desktop 操作系统

    树莓派官方的 raspbian 操作系统有 PC 版本,就是能用来安装到自己的电脑上.可能是官方的推广策略,先把树莓派系统推出来,让大家可以在 PC 上体验. 这篇文章就教大家,如何在电脑虚拟机上安装 ...

最新文章

  1. win7无线热点_Windos7系统笔记本设置无线热点教程,应急时候可以用
  2. 用python做炒股软件-python程序源码_基于python的炒股软件
  3. [转]linux下的fms2流媒体服务器搭建六部曲之五-----flv播放器制作篇
  4. [转贴]年薪一万/十万/百万的各样生活
  5. 动态分区分配的“首次适应算法_kafka集群关于资源分配的手册
  6. 女垒姑娘最漂亮,青年女足最顽强
  7. python函数理解_Python 知识理解---函数
  8. 新冠状病毒显微放大品质背景,让你做相关项目更具专业性。
  9. 城市大脑 —— 数据重塑城市未来
  10. 大话设计模式笔记(十二)の抽象工厂模式
  11. Wireless工具配置
  12. Alt+Shift+NumLock
  13. 全排列、排列组合(去重区别)
  14. 10个有趣且易上手的AI项目(附Python源代码)
  15. 2020考研数学一考研大纲原文
  16. 任务分配的穷举法、匈牙利法、分支定界法
  17. ffmpeg实战教程(五)libswscale,libavfilter实践指南
  18. offsetLeft理解以及MouseEvent接口中的screenX,clientX,pageX,offsetX区别.
  19. datagridview获取行中列的数据
  20. python库的下载安装_Python库的安装

热门文章

  1. 有关于TCP三次握手和四次挥手的理解
  2. JS显示当前时间(包含农历时间)
  3. 万网绑定二级域名_为网站子目录绑定二级域名
  4. [转]《牵一只蜗牛去散步》台湾 张文亮
  5. java小红球下载_小红球闯关
  6. 操作系统:动态分区存储(首次适应算法、最佳适应算法)
  7. 学而思网校怎么查看回放 学而思网校查看回放教程
  8. UE4 本地化多语言
  9. GSM和GPRS有什么区别
  10. 视频教程-H3CNE认证网络工程师视频课程-H3C认证