Delete project and all setting from Android Studio - android

My question i hope is very simple for solution.
I try this:
1) I have wrong imported project X from folder (this project is inside a folder and the icon is the simple folder) with Android Studio.
2) I delete this project from Android Studio (for try to import the second time).
Now i try to reimport again:
3) When i go to search again project X now i see the icon Android Studio not a icon folder.
So my question is..Android Studio save some setting for this project? and how i can delete all?

Inside the project you will find some Android Studio files.
.idea : in this folder Android Studio saves the settings
.iml in each module. In these files Android Studio stores the module information
You can delete these resources, and then reimport again the folder.

If what you want is to delete the whole AS project you can do so in the file explorer, just remove the project folder and restart AS. If the project appears on the recents just click it and it will go away.

Related

How to edit Flutter project in android studio - get file is read-only message

I have a project in android studio that I made.
the project worked fine but now when I try to edit any files in the project folder I get
file is read-only
any idea how to solve this issue?
Try this
Close Android Studio.
Save .idea folder for future restore (if something happend)
Remove .idea folder
Start Android Studio and open project.

In Flutter Project Android project screen is automatically opening

When I am trying to open my flutter project in Android Studio
Android Project screen is automatically opened with blank screen and when i a rebuild project it will automatically increasing with same project/blank screen
I found a alternative solution!
Just delete the .androidstudio from your user folder and create it all again (you need to install all plugins and configs again)
I had the same problem as you and I solved it by following this answer and installing from scratch android studio, of course do not delete your folder with the projects.
copy installed plugins from
Goto C:\Users\UserName.AndroidStudio\config
move plugins folder somewhere
then delete .AndroidStudio folder
Start Android Studio
do not import your
after Android Studio Start close it
then paste your plugins folder to
C:\Users\UserName.AndroidStudio\config
Start Android Studio and use :)

Android Studio, I changed the folder name, project won't load

I foolishly changed the name of the root folder for my android studio project, using my Win10 PC's File Explorer, and now I can't seem to figure out how to re-open the project in Android Studio 2.2.2 .
I changed that folder name back to the original name, still can't figure out how to open it.
All 2000+ files seem to be intact, and back where they were before my misadventures, but not sure how to get the IDE to allow me to work on this project?
I am returning the programming, after more than a year off...and am pretty much a novice Android programmer.
Thanks!!!
start deleting the .idea folder in the root of your project. Then, open your Android Studio select "Open an existing Android Studio project" (or File > Open...) and select your project's folder.

How to recreate a project in Android Studio after losing the .idea folder?

I have been trying to understand how Android Studio IDE works by trying out a few things. I imported one of the sample projects –– Android DataLayer –– from Google repo, and it came with a few configured modules. Then I deleted the .idea folder and wanted to open the project again, but in the sidebar panel, all I see is emptiness.
What can I do to recreate the project?
Try syncing the project with "Tools" > "Android" > "Sync Project with Gradle Files".
If nothing changes when that process seems to be completed, then close and reopen the IDE.
If that still does not help:
Close the project via "File" > "Close Project"
Go into the project directory and delete the file .iml
(using your development machine's file manager e.g., Nautilus in Ubuntu, Finder in OS X).
Then, import the project using "Import Non-Android Studio Project" from the welcome dialog that appeared when you closed the project earlier.
Try creating a new project with exactly the same name, packageName etc. and then copy the folder from the new project into your old one

Save a project as new project in Android Studio

Im new in android programming and wounder, how do make a copy of your android project in Android Studio?
I would like to save my project as a new version of my project for backup purpose. I tried just make a copy of the project in the finder and open the copied projectversion in Android Studio but it just seem to point to my old projectversion, not the new one.
How do I manage this simple and basic task?
I believe this is down to the workspace files in the .idea folder keeping absolute paths as I noticed this phenomenon when attempting to move a project.
Solution
When you have copied (or moved) the project, do not open with "Open an existing Android Studio Project", but instead open with "Import Non-Android Studio project" and select the main build.gradle file. This will fix the paths in the workspace.

Categories

Resources