您的位置:首页 > 编程语言 > Java开发

eclipse导入android源码问题

2012-08-05 16:22 375 查看


Importing existing Java Project into Eclipse – “Create projectfrom existing source”(在eclipse4.2版本会找不到 “Create projectfrom existing source”这个选项,以至于无从下手。)

Posted
on April 19, 2011 by Lars
Vogel

Are you trying to import a non-Eclipse based Java project into Eclipse?(废话来的)

You find a lot of tips in the internet which tell you that you should create a new Java Project and then use the “Create project from existing source” option.

For example on the Google Plugin for Eclipse webpage.

Unfortunately this option does not exists. To my knowlegge the correct (and unfortunately a bit complex way) is to create a nwe Java project, select the project, right-click on it and select Import ->
File System.

解决方法在这里:就是创建一个新的java工程,然后选择这个工程,右键然后选择导入(import)- ->文件系统(File System)









On the following dialog you can select the directory from which you want to import and also if existing resources should be overriden.

I hope this helps.

Remark: For Google App Engine with Java you also need to set the output path (bin folder)of the project to “projectname/war/WEB-INF/classes”.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: