I have just downloaded Eclipse, started it and found that "Open Project" butto开发者_如何学运维n is disabled. So how do I open my project =) ?
"Open Project" button will only be enabled when there is a project selected in the active view. If you just downloaded Eclipse and started on a brand new workspace without any project created or imported, you would need to use File > New > Project... or File > Import... to add a project in your workspace.
Go to File->Import and select "General" and from the list select "Existing Projects into Workspace" then click "Next". After that in the next dialog, for the root directory, if your project exists in the "D:\Projects\Android\Test" folder (for example), type "D:\Projects\Android" and click on "Refresh" button. You will see your project(s) in the result list. Click on "Finish" and done.
The Reason is that if anyone is using the IDE for the first time the option of "open Project" is unavailable ,thus one may have to migrate to file->import->general->Existing Projects into Work space.That's it and browse up to that location as well select the type of project that means if you have unzipped type of files then select "select Root directory" option and if you have a zip version of it then select "select archive file" option.
精彩评论