Remove Project from Android Studio

2019-01-31 04:43发布

Does any one know how to remove a project from Android Studio in an attempt to re- export it from Eclipse?

So far I have tried removing all the gradle files associated with the project, which causes an error when Android Studio tries to open my project.

These files were not located in AndriodStudioProjects Folder because I only imported the project it was not moved....

Basically what I would like to accomplish is, removing the file from the list of recent projects in Android Studio, re-export it from Eclipse and then import a working project back into Android Studio.

13条回答
ら.Afraid
2楼-- · 2019-01-31 05:29

Or if you don't want to build it just remove it from settings.gradle file

查看更多
The star\"
3楼-- · 2019-01-31 05:30

In the "Welcome to Android Studio" opening dialog you can highlight the app you want to remove from Android Studio and hit delete on your keyboard.

查看更多
劫难
4楼-- · 2019-01-31 05:30

Found this elsewhere on the web, it deletes basically everything (except the workspace.xml file, which you can delete manually from the project folder).

  1. Right Click on the project name under the save icon.
  2. Click delete
  3. Go to your project folder and check all the files were deleted.

enter image description here

查看更多
别忘想泡老子
5楼-- · 2019-01-31 05:31

I had to remove my project from eclipse entirely. To do so I copied the folder of my project in workspace and pasted it onto my desktop. Then navigated back into eclipse right clicked selected delete and then check the box to delete the project from my workspace.

After this I closed eclipse. Opened Android studio and tried to open my imported project. At this point it told me the project didn't exist and provided me with an option to remove it from the list. After clicking this i closed Android Studio, and when i reopened it the project was gone.

Finally, I reopened eclipse and imported my project from existing sources to get it back inside eclipse.

NOTE

I would advise against using Android Studio on projects that you have that already work fine with eclipse. Android studio is cool when you are creating new projects but from my experience there are a lot of problems with build paths when I import a build.gradle from eclipse to Android Studio. Android Studio is great but remember it is still in the I/O pre-release!!!

--Just my 2 cents!

查看更多
走好不送
6楼-- · 2019-01-31 05:35

Easiest way to do this is close the project. Using file explorer head to the location of that project and delete.

Alot of processes, even simply deleting can be annoying to figure out in studio. Most deleting options a good work around is to delete using file explorer. This is a part of the process tht works for deleting modules as well. Which u will prob find is painful as well

查看更多
三岁会撩人
7楼-- · 2019-01-31 05:37

The project can be removed from the "recent project" list but it will still remain in the project directory. To remove from the project list:

  1. Close the project
  2. Highlight the project in the "recent project" list
  3. Press Backspace (NOT Delete!)

To completely remove the project:

  1. List item
  2. Use Windows File Explorer to navigate to the Android Studio project directory (normally in "x:\Users\YourName\AndroidStudioProjects")
  3. Select the project to delete
  4. Press Delete (NOT Backspace!)
查看更多
登录 后发表回答