120

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.

kandroidj
  • 13,784
  • 5
  • 64
  • 76
  • 66
    why is android studio so convoluted and difficult to use? – Akh Jul 12 '14 at 00:38
  • @AKh Probably cause its still in beta v 0.8.0 . I dig the dark theme though wish there was a better solution than moonrise in eclipse. but eclipse has become so mature. Probably jetbrains is too busy supporting intelliJ, that android studio is just not as high priority right now. Hopefully a full v1 comes out soon though. – kandroidj Jul 12 '14 at 02:21
  • Thank you :).. Hopefully V1.0 will be better. I am a long time eclipse user... Not sure if it is the transition that is making studio very difficult to use or in general studio is not up to the standard... – Akh Jul 14 '14 at 23:08
  • Personally I think Android Studio is way easier to use than eclipse but this is as of 2016 of course – Greg Feb 27 '16 at 22:49
  • @inner_class7 - Currently AndroidStudio is 2.3.2 and long out of beta. Yet it still has this foible. – Jesse Chisholm Dec 06 '16 at 22:38

15 Answers15

181

File > Close Project

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

EDIT try this solution, works for me

Community
  • 1
  • 1
Udi Oshi
  • 6,787
  • 7
  • 47
  • 65
  • 1
    not working. . . I closed the project and the project highlights blue and i click command + delete(mac) and nothing happens – kandroidj Jun 12 '13 at 18:57
  • see my answer, i tried your way and it wasn't working again I am on a mac so maybe im doing something wrong but it didn't delete. – kandroidj Jun 13 '13 at 02:13
  • 4
    This threw me off on a mac too... first, you can't click on the project to select it or it launches the project... you have to trick it by moving your mouse over to highlight and then to make sure it sticks use the keyboard arrow keys up/down to highlight the one you want. Then fn+delete to remove it because mac keyboards are retarded. – Dewey Vozel Feb 25 '15 at 19:32
  • 2
    This just removes it from "Recently opened projects" on Linux – Nicolas Raoul Jan 13 '16 at 05:33
  • 1
    Yep. If you want to delete its files just delete it files from window explorer – Udi Oshi Jan 13 '16 at 08:30
  • Delete button on project in Project Window doesn't work. Delete can be found in project context menu in breadcrumbs. – Zon Apr 11 '17 at 04:04
41

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

delete from studio

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!

remove from list

Garry
  • 4,493
  • 3
  • 28
  • 48
20

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.

yiati
  • 995
  • 1
  • 12
  • 27
7

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

4444
  • 3,541
  • 10
  • 32
  • 43
Ben
  • 115
  • 1
  • 5
7
  1. Go to your Android project directory

    C:\Users\HP\AndroidStudioProjects
    

    Screenshot

  2. Delete which one you need to delete

  3. Restart Android Studio

Pang
  • 9,564
  • 146
  • 81
  • 122
Pacific P. Regmi
  • 1,607
  • 19
  • 15
6

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

Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
gib
  • 1,951
  • 1
  • 21
  • 24
5

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!)
FlyByDay
  • 51
  • 1
  • 2
3

MAKE IT SIMPLE

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

Delete Android Studio Project

Aman Garg
  • 3,122
  • 4
  • 24
  • 32
Latief Anwar
  • 1,833
  • 17
  • 27
1

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

Ss.wa
  • 31
  • 2
1

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

Bobby
  • 6,115
  • 4
  • 35
  • 36
1

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

Dino Velić
  • 888
  • 11
  • 24
0

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!

kandroidj
  • 13,784
  • 5
  • 64
  • 76
0

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.

SajithK
  • 832
  • 10
  • 17
0

The location of SDK is incorrect, the name of one filer is with place this is creating an issue. By removing that space issue will be resolved. old SDK location:

C:\Users\At Tech\AppData\Local\Android\Sdk

new SDK location:

F:\AndroidSDK\Sdk
Android
  • 1,420
  • 4
  • 13
  • 23
Asadullah Mumtaz
  • 171
  • 1
  • 14
0

If it's Windows, all you need to do is delete the root of that project within the file explorer. Just right click on the name of the app in Android Studio, and then "show in file explorer". Then just delete the project folder all in all.

Michael Cera
  • 59
  • 1
  • 1
  • 4