.project文件丢失,但工程罚款打开我的Mac上,而不是讲师家用PC [英] .project file missing, but project opens fine on my mac, but not lecturers home PC
问题描述
初学者这一切的一点。但今年,我们被要求做一个Android的井字游戏,我刚刚做完了,可是寄给了我的讲师检查出我有一个简单的问题。
bit of a beginner to all this. But this year we have been asked to make a Android Tic Tac Toe game, and I've just finished it, but sent it off to my lecturer to check out a simple problem I was having.
不过,他说,他不能打开它,因为它不会被识别为一个项目,它缺少的项目文件。
However he says he cannot open it as it is not recognised as a project and it is missing the .project file.
在回首我的老项目,而不是他们的人都有在它(至少30项目)的一个项目文件,但他们都开在我的Mac绝对精品,和PC在UNI当我将它们复制到我的USB并将它们导入到Eclipse中。
When looking back over my old projects, not a single one of them has a .project file in it (a least 30 project), however they all open absolutely fine on my Mac, and the PC's in uni when I copy them onto my USB and import them into Eclipse.
截止日期是星期一,我变得有点担心。我不介意从头做一个新项目,并复制我的code进去。但我不认为这将如何帮助看到,因为没有我的previous项目已经与他们所。
The deadline is monday and I'm getting a bit worried. I don't mind making a new project from scratch and copying my code into it. But I don't see how it will help seeing as none of my previous projects have been made with them.
任何帮助将大大AP preciated。
Any help will be GREATLY appreciated.
谢谢,请问
推荐答案
A片,你可能会丢失信息是文件$ P $一个周期( pfixed。
)是在基于Unix的操作系统的隐藏文件。因此,你将不会被默认在取景器上OSX看到它们。
A piece of information you may be missing is that files prefixed with a period (.
) are hidden files on Unix-based OS's. Therefore you will not see them by default in Finder on OSX.
如果你打开一个终端,浏览到您的项目( CD<项目路径>
),并执行 LS -la
,就会显示出来。
If you open a Terminal, navigate to your project (cd <project-path>
) and execute ls -la
, they will show up.
输出示例:
Justins-iMac:HelloWorld justinjasmann$ ls -la
total 144
drwxr-xr-x 14 justinjasmann staff 476 26 Feb 16:50 .
drwxrwxrwx 10 justinjasmann staff 340 28 Feb 01:12 ..
-rw-r--r-- 1 justinjasmann staff 466 26 Feb 16:51 .classpath
-rw-r--r-- 1 justinjasmann staff 813 26 Feb 16:50 .project
-rw-r--r-- 1 justinjasmann staff 845 26 Feb 16:50 AndroidManifest.xml
drwxr-xr-x 2 justinjasmann staff 68 26 Feb 16:50 assets
drwxr-xr-x 10 justinjasmann staff 340 28 Feb 01:07 bin
drwxr-xr-x 3 justinjasmann staff 102 26 Feb 16:51 gen
-rw-r--r-- 1 justinjasmann staff 51394 26 Feb 16:50 ic_launcher-web.png
drwxr-xr-x 3 justinjasmann staff 102 26 Feb 16:50 libs
-rw-r--r-- 1 justinjasmann staff 781 26 Feb 16:50 proguard-project.txt
-rw-r--r-- 1 justinjasmann staff 563 26 Feb 16:50 project.properties
drwxr-xr-x 14 justinjasmann staff 476 26 Feb 16:50 res
drwxr-xr-x 3 justinjasmann staff 102 26 Feb 16:50 src
这篇关于.project文件丢失,但工程罚款打开我的Mac上,而不是讲师家用PC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!