I am trying to move an Android project to a difference directory in the workspace, using Refactor > Move.
The problem is that the "Move Project" dialog box keeps the OK button disabled, while issuing the following message in red:
\winshare\sandbox\workspace\NewDirName overlaps the location of another project: NewDirName
The funny thing is... a directory named NewDirName doesn't even exist!
(I later tried creating such directory outside of Eclipse but that didn't help)
Any idea why this is?
I am using Eclipse 3.6.1 64-bit with the latest Android SDK 9 (under Windows 7).
The error message you're getting is misleading. Refactoring operations are not intended for projects. The problem is that the plugin should remove the Refactor options when the selected item is a project rather than a package or class.
I stumbled over the same problem ("overlaps the location of another project" error) trying to create a new project for a set of tutorial files unpacked from a ZIP file. This problem appeared in a couple of forums so I'm cross-posting the answer so it's available in both.
I'm using Vista, Eclipse 3.7.0
I don't know what "File | New | Project | Android Project | Create project from existing source" is supposed to do but I couldn't get it to work for the above unzipped files. I kept getting that error.
I found what did work is: 1) Copy the unzipped file tree for the project to wherever you want it to eventually reside. 2) File | Import | General | Existing Projects into Workspace | Select root directory: and point it to wherever you put the zipped files, check-box on for the Project that is the one you want, then Finish
Step 2 seems to not actually move the files anywhere (even though the term 'import' implied that to me), but it seems to just make Eclipse aware of where the project is located and it uses the project from that directory.
That seems to work at least for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With