With Eclipse, errors in trying to Import previously Exported Android project, reports a workspace conflict

十年热恋 提交于 2019-12-11 05:35:48

问题


I am using Eclipse for Android. I had a fresh/clean new workspace created. I had a folder where a pre-existing Android project was exported to from Eclipse. I open Eclipse from using this new workspace and do Import > Existing Projects into Workspace > I select the project folder which is a previous export > Finish. All is great with this importing, as the files are all there and the directory structure is as it should be.

Then after some edits I do Export > General - File System > I select the same directory folder I imported from with the selected option to overwrite existing files without warning. Then I restart Eclipse and try to import the exported project in the same way but it says Some projects cannot be imported because they already exist in the workspace.

The whole point of this is to be able to synchronise an Android project by using a dropbox folder to be shared. That different computers can access the exported project in a common/shared folder work with it and then modify contents. It seems that with Eclipse the usual way is for an SVN to be used instead but is it not possible with a shared folder? I am struggling to find a process to import make changes and export again and on importing again for those changes made to be preserved if they were not made from the same Eclipse session.


回答1:


The way I found to get the error from appearing is to initially have my workspace folder in a separate directory/folder from the project space which was defined later in the non-default location which is with the workspace. Then importing does not conflict with what is automatically loaded with the workspace folder.



来源:https://stackoverflow.com/questions/9788467/with-eclipse-errors-in-trying-to-import-previously-exported-android-project-re

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!