[Eclipse] インポートするプロジェクトが見つかりません
- 2013 4/22
Eclipse で既存のプロジェクトをインポートしようとしたら、「インポートするプロジェクトが見つかりません」というメッセージが表示されてインポートできませんでした。
原因は .project ファイルが存在しないせいでした。
下記のように .project ファイルを追加すれば、正常にプロジェクトをインポートすることができました。
<?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>MyProjectName</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.android.ide.eclipse.adt.ApkBuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>com.android.ide.eclipse.adt.AndroidNature</nature> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> |