Remove Project from Android Studio

2019-01-31 05:00发布

问题:

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.

回答1:

File > Close Project

move your mouse cursor on the project and press Delete keyboard button :)

EDIT try this solution, works for me



回答2:

This is for Android Studio 1.0.2(Windows7). Right click on the project on project bar and delete.

Then remove the project folder from within your user folder under 'AndroidStudioProject' using Windows explorer.

Close the studio and relaunch you will presented with welcome screen. Click on deleted project from left side pane then select the option to remove from the list. Done!



回答3:

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:

You must close the project, hover over the project in the welcome screen, then press the delete button.



回答5:

  1. Go to your Android project directory

    C:\Users\HP\AndroidStudioProjects
    

  2. Delete which one you need to delete

  3. Restart Android Studio



回答6:

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!)


回答7:

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.



回答8:

MAKE IT SIMPLE

  1. Open Project
  2. Go to AndroidStudioProjects Folder
  3. Right click on the project name to delete
  4. click Delete



回答9:

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



回答10:

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!



回答11:

If you are trying to delete/cut as suggested by @Pacific P. Regmi and if you are getting "Folder in use" which won't let you to delete/cut make sure to close all the android studio instances.



回答12:

Select your project in the projects window > File > Project Structure > (in the Modules section) select your project and click the minus button.



回答13:

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