可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
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:
Go to your Android project directory
C:\Users\HP\AndroidStudioProjects
Delete which one you need to delete
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:
- Close the project
- Highlight the project in the "recent project" list
- Press Backspace (NOT Delete!)
To completely remove the project:
- List item
- Use Windows File Explorer to navigate to the Android Studio project directory (normally in "x:\Users\YourName\AndroidStudioProjects")
- Select the project to delete
- 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).
- Right Click on the project name under the save icon.
- Click delete
- Go to your project folder and check all the files were deleted.
回答8:
MAKE IT SIMPLE
- Open Project
- Go to AndroidStudioProjects Folder
- Right click on the project name to delete
- 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