如何导入Android项目与创造出从源代码一个新的月食?月食、源代码、项目、Android

由网友(昨夜星辰如君)分享简介:我想在导入项目,而不必创建从源头上一个新项目向Eclipse。所以,我可以使用文件夹和文件颠覆从项目已在我已签出的发展。日食与进口项目,但省去了AndroidManifest.xml中,不产生R.java。 I would like to import a project in to Eclipse without...

我想在导入项目,而不必创建从源头上一个新项目向Eclipse。所以,我可以使用文件夹和文件颠覆从项目已在我已签出的发展。日食与进口项目,但省去了AndroidManifest.xml中,不产生R.java。

I would like to import a project in to Eclipse without having to "create a new project from the source". So that I can use folder and files with subversion from a project that is already in development that I have checked out. Eclipse with import the project but leaves out the androidmanifest.xml and the R.java is not generated.

这不为我工作:

解决:如果你想从现有的开源项目中,你需要创建一个新的目录,然后把项目的目录树到该新目录中。然后导入时指向新的目录。*我发现了一个韩国网站上的解决方案,这就是为什么我错过了与谷歌的第一次搜索。

Solved: If you want to "Create project from existing source", you need to create a new directory and then put the project directory tree into that new directory. Then point to the new directory when importing. *I found the solution on a Korean website, that's why I missed my first search with google.

推荐答案

解决:原来在/ res文件夹的.png文件中导致错误,所以正在生成R.java文件wasnt(的研究不能得到解决 - Android的错误)。我重新保存他们为.png文件,并在写的原件和固定的问题。

Solved: Turns out the .png files in the /res folder were causing errors, so the R.java file wasnt being generated( R cannot be resolved - Android error ). I re-saved them as .png files and over wrote the originals and that fixed that problem.

还进口了,当我做CTRL + SHIFT + O,它需要增加进口R.java女巫被删除。

Also when imported I did ctrl+shift+o and it added import R.java witch needed to be deleted.

然后我渐渐被固定的这个职位的错误:"Conversion到Dalvik的格式无法与外部罐

I then was getting an error that was fixed by this post: "Conversion to Dalvik format failed with error 1" on external Jar

阅读全文

相关推荐

最新文章