无法从本书中导入示例项目在eclipse [英] Unable to import example projects in eclipse from book
问题描述
我想从一本书中导入项目到Eclipse IDE开始的Android 2,但是当我选择根目录下的完成按钮仍显示为灰色。我试着从头开始没有成功导入项目,而且我也试图创建具有相同的名称和一切的模板项目,然后导入到那个(导入现有的项目到工作区),但它总是说没有项目发现进口。
I am trying to import projects into the Eclipse IDE from a book "Beginning Android 2" but when I choose the root directory the "Finish" button is still grayed out. I've tried importing the project from scratch with no success, and I've also tried to create a template project with the same name and everything and then importing into that (Import existing projects into workspace) but it always says "No projects are found to import".
该文件夹的内容是: RES
文件夹,用的src
文件夹的.java
文件清单,建立和 default.properties
文件。
The contents of the folder are: Res
folder, src
folder with .java
file, the manifest, build, and default.properties
files.
推荐答案
创建一个新的Android项目。在新项目向导中,选择单选按钮,在从现有的项目code。单击浏览按钮,并选择下载的项目目录。这将填补在向导的这一页的其余部分。接受向导的默认值的所有其余部分,你的项目将成立。您可能还需要勾选复选标记旁边您的构建路径Android的JAR文件。
Create a new Android project. In the new-project wizard, choose the "code from existing project" radio button. Click the Browse button and pick the downloaded project directory. This will fill in the rest of this page of the wizard. Accept all the rest of the wizard defaults, and your project will be set up. You may also need to tick the checkmark next to the Android JAR file in your build path.
这篇关于无法从本书中导入示例项目在eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!