How to completely uninstall Android Studio from windows(v10)? - android

I have already seen this question.
But that's for Mac OS. I am using windows. Every time I create a new project or try to build/rebuild the project it freezes!! I have installed the latest version(9/10/2016). But things are getting worse. I want to completely remove it and install it as if I would be installing it for the first time. Any help be Appreciated.

To Completely Remove Android Studio from Windows:
Step 1: Run the Android Studio uninstaller
The first step is to run the uninstaller. Open the Control Panel and under Programs, select Uninstall a Program. After that, click on "Android Studio" and press Uninstall. If you have multiple versions, uninstall them as well.
Step 2: Remove the Android Studio files
To delete any remains of Android Studio setting files, in File Explorer, go to your user folder (%USERPROFILE%), and delete .android, .AndroidStudio and any analogous directories with versions on the end, i.e. .AndroidStudio1.2, as well as .gradle and .m2 if they exist.
Then go to %APPDATA% and delete the JetBrains directory.
Also delete the any AndroidStudio* directories that are in %LOCALAPPDATA%\Google and %APPDATA%\Google.
Finally, go to C:\Program Files and delete the Android directory.
Step 3: Remove SDK
To delete any remains of the SDK, go to %LOCALAPPDATA% and delete the Android directory.
Step 4: Delete Android Studio projects
Android Studio creates projects in a folder %USERPROFILE%\AndroidStudioProjects, which you may want to delete.

In 2021, If you are looking for uninstall.exe, the latest Android studio version doesn't come with an uninstaller. Download an older version of the Android studio from the Android studio download archive official LINK; you can download Android Studio 4.1.1.
Download the zip files, extract the uninstall.exe from it, and put it in your Android Studio folder; there is no need to install that older version.
UPDATE - 04/14/2022
Looks like the new version comes with unistall.exe now.
Tried on - Android Studio Bumblebee | 2021.1.1 Patch 3 for Windows 64-bit (April 2022)

I was having a problem installing the latest v4.1.2 as it was having an issue where after I start it, it shows my old blank project, so the things I did were:
Caution: Please move your SDK and projects to a separate location before following steps if you haven't. So it might save your time downloading SDKs and stuff.
1- Uninstall old Android Studio completely (from Control Panel -> Programs).
2- Delete this Android Studio folder located at C:\Users\\<user_name>\AppData\Local\Google
3- Delete this Android Studio folder located at C:\Users\\<user_name>\AppData\Roaming\Google
4- Delete these folders (.android ,.AndroidStudio*, .gradle) located at C:\Users\\<user_name>
After doing all this, I managed to have fresh updated Android Studio v4.1.2

First go to android studio folder on location that you installed it ( It’s usually in this path by default ; C:\Program Files\Android\Android Studio, unless you change it when you install Android Studio). Find and run uninstall.exe file.
Wait until uninstallation complete successfully, just few minutes, and after click the close.
To delete any remains of Android Studio setting files, in File Explorer, go to C:\Users\%username%, and delete .android, .AndroidStudio(#version-number) and also .gradle, AndroidStudioProjects if they exist. If you want remain your projects, you’d like to keep AndroidStudioProjects folder.
Then, go to C:\Users\%username%\AppData\Roaming and delete the JetBrains directory.
Note that AppData folder is hidden by default, to make visible it go to view tab and check hidden items in windows8 and10 ( in windows7 Select Folder Options, then select the View tab. Under Advanced settings, select Show hidden files, folders, and drives, and then select OK.
Done, you can remove Android Studio successfully, if you plan to delete SDK tools too, it is enough to remove SDK folder completely.

Firstly, uninstall Android Studio from the control panel using program and features.
Later you also need to enable displaying of hidden files and folders and delete the following:
C:/Users/${yourUserName}/AppData/Local/Android

If you do not have an uninstaller, follow the below steps:
Download and install an old version of Android Studio (eg: android-studio-ide-191.5977832-windows.exe aka Android Studio 3.5.2) from the download archives.
Copy (do not cut) and Paste the uninstall.exe from the installed Android Studio folder in your original Android Studio folder. Now, run the uninstall.exe which you just pasted, this will start the uninstall process for your original Android Studio.
After the original Android Studio is uninstalled, proceed to run the uninstaller in the old version of Android Studio that you downloaded.
After the old Android Studio is uninstalled, follow this to completely remove any leftover Android Studio related files, folders etc.
Now your system has no Android Studio.

In my case - Windows 10 Home, for removing previous settings, I had to delete AndroidStudioX from C:\Users\<Your User>\AppData\Roaming\Google as well.

Complementary to the 1st and 2nd upvoted answers, also take a look if anything like Android Studio folder remains at C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ to avoid wrong references in future installations.

.android
check this folder in
C:\Users\user
its have an issue and fix it then restart android studio.

https://stackoverflow.com/a/39953746/3116336 is complete answer but you need to delete also %APPDATA%/Local/Google/Android
folder.

latest Android Studio in 2022, March
has an uninstall.exe in the root directory.
For me uninstalling from "Windows Remove Programms View" didn't work, failing with error popup.
But going to the installation directory and just executing uninstall.exe just works perfectly.

I tried multiple times to get a clean install without success.
I found if I still had the AndroidStudioProjects folder then Android would naturally go to my last project I was working on and start to build that project.
I made a copy of that folder and saved my code to the desktop. Then I deleted the AndroidStudioProjects folder and I had the option of a completely fresh install.
This was done after following this to the letter: https://stackoverflow.com/a/39953746/8860848

Related

Can't uninstall Android Studio

I'm having problems uninstalling Android Studio in Win10, I can't find the uninstall.exe file. I installed it, but I'm not going to use it, after all, so I went to Control Panel>Programs and Features, but when I tried from there it said it couldn't find the uninstall.exe and removed it from the list, I have the Android Studio folders in Program Files and all, but that's it.
I already removed the SDK from the user folder. All that's left is in Program Files. I tried reinstalling but only creates another installation folder under 'Android Studio1'.
Thanks in advance!
A comment by Flot2011 answered this question.
Flot2011's comment:
Go to C:\Users%username%, and delete .android,
.AndroidStudio(#version-number), .gradle and AndroidStudioProjects
directories if they exist. After that go to
C:\Users%username%\AppData\Roaming and delete the JetBrains
directory.
Just follow Flot2011's directions and restart your PC, and Android Studio is no more on your computer.
This is what I did to resolve this exact issue:
Launch Android Studio.
Upgrade Android Studio to the latest version when prompted.
Delete C:\Program Files\Android\
Download the latest Android Studio installer.
Install the latest Android Studio. This will replace the files removed in step 3, and install a functioning uninstaller.
Run the uninstaller from the Settings app. Make sure to check the user preferences box so that it deletes the files in %userprofile%.
I prefer this approach to manually removing directories because the installers and updaters should get all of them and also address any registry changes that need to be made.

Android Studio image not found

android studio
I tried every possible way to solve this, but always gets no image:
1- uninstalled everything and install again.
2- changed the proxy to make it auto.
3- downloaded the files from android studio web site.
4- update and delete everything and un-install for a week and nothing changes.
so if anyone can help please..
well, thanks to "Harshad Pansuriya" and "M. Bilal Asif"
I managed to remove android studio completely from my computer then installed a new fresh copy.
here is how to remove android studio from your pc (windows):
The first step is to run the uninstaller. Open the Control Panel and under Programs, select Uninstall a Program. After that, click on "Android Studio" and press Uninstall. If you have multiple versions, uninstall them as well.
Step 2: Remove the Android Studio files
To delete any remains of Android Studio setting files, in File Explorer, go to your user folder (%USERPROFILE%), and delete .android, .AndroidStudio and any analogous directories with versions on the end, i.e. .AndroidStudio1.2, as well as .gradle and .m2 if they exist.
Then go to %APPDATA% and delete the JetBrains directory.
Finally, go to C:\Program Files and delete the Android directory.
Step 3: Remove SDK
To delete any remains of the SDK, go to %LOCALAPPDATA% and delete the Android directory.
Step 4: Delete Android Studio projects
Android Studio creates projects in a folder %USERPROFILE%\AndroidStudioProjects, which you may want to delete.
5- Delete this Android Studio folder located at C:\Users<user_name>\AppData\Local\Google
6- Delete this Android Studio folder located at C:\Users<user_name>\AppData\Roaming\Google.
Then install new fresh copy of android studio

Error: Please provide a path to the Android SDK

After installing the Android studio and launching it I am getting this error.
I cannot specify the path to the SDK. I have tried giving the path as :C:\Development\Android\android-sdk-windows\platform-tools\" but the path is invalid
Try this:
close this box then
Tools -> Android -> SDK Manager
I encountered this problem when installing Android Studio 3.0.
There was in fact no folder named C:\Users\Your Name\AppData\Local\Android\Sdk after I installed Android Studio. I tried installing the Android command line tools at this location, but android studio did not accept this. (Turns out, the command line tools are not the SDK.)
Managed to fix it by doing a complete uninstall of Android Studio, deleting the C:\Users\Your Name\AppData\Local\Android folder, deleting any Android Studio settings folders (in my case C:\Users\Your Name\.AndroidStudio2.3 and C:\Users\Your Name\.AndroidStudio2.3). After reinstalling and opening Android Studio, it gave me a dialog to download the SDK.
I can think of 2 possible explanations why this worked for me:
Originally, Android Studio was opening a project straight away, which didn't trigger the "download your sdk" dialog. (This no longer occurred since I deleted my Android Studio settings.)
There was some kind of setting that made Android Studio think I already had the SDK downloaded.
Try this - C:\Users\Your Name\AppData\Local\Android\Sdk
Replace Your Name with the name of your PC.
This problem is usual after you update, or reinstall the Android Studio.. Follow these steps-
* Close all the opened project which is opened by default after you started the Android Studio.. and again open the Android Studio, it will direct you towards re-downloading of SDK components from the net (So be sure to have net connectivity at this point)..
* If above step doesn't work, then restart the PC and open Android Studio again..
Hope it will help..
C:\Program Files (x86)\Android\android-sdk
Hope this will work.
I was also stuck with this...i tried everything mentioned above, but could not get through.
Then I was about to uninstall and reinstall the IDE as mentioned above.
When I was about to uninstall, to my surprise, I found Android SDK Tools in control Panel -> Programs and Features, which was the thing I was looking for!
Android SDK Tools in Control Panel -> Programs and features
I didn't know how to find the path of that, because even after searching in my computer, I didn't get it. So, I went on further and clicked on uninstall.
There, I found the path of Android SDK Tools "C:\Program Files (x86)\Android\android-sdk\". I did not uninstall anything.
I linked this path in the dialogue box, the error was gone!
Whoever encounters the same error, should look for the "Android SDK Tools" in the programs and features in control panel, and then go for uninstalling the same.
There you will find the path of the tools folder.
Copy and paste that path, and you shall get through.
When installing Android Studio on my Mac I accidentally cancelled the dialog box that would normally have installed the SDK. To fix this I deleted Android Studio from /Applications, and deleted the following folders:
% cd $HOME
% rm -rf Preferences/AndroidStudio3.4
% rm -rf Logs/AndroidStudio3.4
% rm -rf Caches/AndroidStudio3.4
% rm -rf Application\ Support/AndroidStudio3.4
(Adjust the version number for your version.) I then reinstalled Android Studio and let it guide me through the SDK installation process.
In case anyone get to experience the same weird situation as me:
I had installed Android Studio, had projects saved, but for some reason I had to do reinstall Windows (and during that I deleted my "Android-folder" in ".../local". When you do that, you will encounter the exact same pop up.
No worries, close it and even though it says that it is needed, it's not. You just don't have access to the prior projects. When saving the new one, then everything will be OK.
The problem was solved by downloading the SDK again, in my case I had deleted the SDK folder that was in C:\Users\george\AppData\Local\Android\Sdk, because I deleted it then I had to download the SDK
I just reinstalled Android Studio (everything) C:/user/yourName/.androidStudio.4 and C:/user/yourName/.androidStudio.4.
You dont have to delete your projects folder!
In my case, going to the Settings menu in Android Studio, there I could download the SDK (none were installed) through the "edit" button
I got this error when moving a project from one computer to antother, even though it wasn't an Android project and didn't need an Android SDK.
The solution for me was to open the file local.properties and remove the line that says sdk.dir. Hope this can help someone.
All you need to do is close the project opened in android studio. This error occurs when you reinstall Android Studio. The previous project that you have been working on will be opened by default. Select that folder from file explorer and move into different location and then again launch Android Studio. The SDK installation will begin thereafter.
The Reason that why Android Studio can't install/find SDK automatically:
As I tried many times for reinstalling Android Studio, but each time I faced with this SDK popup. I figured out that after installing, Android Studio seeks for project folder automatically (usually located in C:\Users\Username\AppData\AndroidStudioProject) to syn previous settings, gradle, SDK path, Android Studio Settings etc. When I deleted this folder (if you need your previous projects copy it somewhere for latter replacement) the usual installation has been started after clicking on install.
I just encountered this issue when updating my Android Studio after a couple of years of not using it, and the solution ended up very easy:
I exited the window with the SDK prompt and closed the old project it was trying to open. Once the project was closed, the IDE was able to prompt me with the download window, and there SDK download worked!

"Android SDK folder inside the application folder" When upgrading android studio

When upgrading android studio from 0.8.9 to 0.8.14 I get the error
Android SDK folder inside the application folder
even though my Android SDK folder is not inside Android Studio Folder.
As you can see in the release notes:
To proceed, you should open up a file explorer or finder window, go to the Android Studio installation (e.g. /Applications/Android Studio.app) and move the sdk/ folder over to a different location, such as your home directory. Once done, press Retry to finish installing the patch. The reason this is necessary is two-fold: First, we have made a lot of improvements to make the patch updater more accurate, and in order for installation signatures to match, you cannot have non-application folders inside the application directory. Second, placing the SDK folder inside the application directory was probably not a good idea to begin with: this folder should typically be writable and in a directory with a lot of extra diskspace, such that users can easily download and install additional libraries, system images and so on. We are doing some work on the installer side to make this easier to set up.
In the meantime, please find a different place to put the SDK (for example ~/android-sdk), and then point your SDK to this directory location instead. You can do this either by opening up the Project Structure Dialog and selecting the SDK Location tab, or if you try to load a project which is using the old location, you'll be prompted for the new location:
I'll assume you are using Mac OS not Windows, if true, you will need to do the following:
Go to Android Studio in Applications directory
Right click over its icon and select Show Package Content
Cut (Move) sdk directory to another place (ex. /home/sdk)
Restart Android Studio and select the sdk path where you moved it (ex. /home/sdk/)
Update
(Windows 8)
Steps I did to fix this:
Open Android Studio->Help->Check for update...
Update and restart
While downloading find folder "sdk" inside android studio installation folder, rigth click and "cut", paste the folder somewhere outside the android installation folder. Wait till download finish, a java window will appear sayng there was some corrup files, in my case was the file "uninstall.exe" select this file from list and hit "proceed"
After step "3" Android Studio will launch and will ask to set the sdk path.
Get the sdk folder that was pasted outside from android installation folder and bring him back. (read step 3), in the selection window from step 4, select the sdk path (re-copied sdk folder that was bringed back).
Done. This solved my "Android SDK folder inside the application folder" while try to update from 0.8.6 to 0.8.14
This is described in Known Issues. The best solution I found for this problem was to download android studio again from the downloads page and reinstalling it, instead of trying to run an upgrade. This solved the problem for me.
Edit based on #stknet's comment
Upgrading from 0.8.9 to 0.8.12+ requires a reinstall see here
You need to go to the Android installation folder from your file explorer, get the sdk folder and move it somewhere else (I put in a folder called SDKs) and then go and open Android Studio again. It will ask to point it to the sdk folder so just give it the path to your sdk folder and let Gradle synchronize it. After that go to Android Studio update and check for updates. Now you can update without errors.
This problem is detailed here.
For example I use it on Xubunutu and I just went to /usr/share/android-studio/data/ and cut the sdk folder and then moved it into /home/user_name/sdks. After that I fired Android Studio, pointed to the new sdk folder and updated.
No re-install required.
Hey even i faced this issue.
Just remove sdk folder present in android-studio folder and place it outside folder(or somewhere) and update. Once you update it will ask you for SDK location if no then manually update the SDK location in local.properties.
Hope this will help you.
Just had this issue while updated Android Studio from 2.2.2 to 2.2.3 in Windows 10. My SDK directory has not been in Android Studio's application directory since 2014. However, somehow an empty 'sdk' directory had appeared in
C:\Users\[username]\AppData\Local\Android\android-studio
Renaming the directory fixed the issue. The installation then deleted deleted my new 'sdk-blah' directory.
AFTER installing the SDK elsewhere and referencing your environment variable to that new location, simply delete the
D:\Android Studio\sdk folder
and Android Studio won't rely on it.

Android Studio Can't Create new Android Project

I'm using the most recent Android Studio and today my Mac crashed. After rebooting, I opened Android Studio and now all of my projects are erroring out with the Android URI not being found. They won't build, won't make, nothing. If I create a new Project, Android project is not one of my options, just all the rest of the options.
Is there anything I can do besides remove and reinstall?
I recommend you to Reset your Android Studio instead of fresh installation(At least give a try).
On Windows:
Go to your User Profile Folder - on Windows 7/8 this would be:
[SYSDRIVE]:\Users\[your username] (ex. C:\Users\pyus13)
Inside this there will be a folder named .AndroidStudioPreview (It can be hidden so please check ).
Delete this folder (Better to take a backup before deletion).
This will reset your AS to defaults.
Now Start your Android Studio you will see the start dialog with settings.
Do the following to set your Android sdk path :
Go into Configure → Project Defaults → Project Structure → Project
Add new SDK and referencing to the SDK Folder that you have and then click apply and ok.
Try to open any of your earlier project or create new one and check. try syncing with Gradle after opening project.
For Linux
Depending on your AndroidStudio version, the settings are stored in ~/.AndroidStudio, ~/.AndroidStudio1.1 or ~/.AndroidStudio1.2.
Open a terminal and run the following code:
ls -a | grep Android # See which of those three folders above you have. Then rename each of the settings folders you have with the appropriate mv command:
mv .AndroidStudio .AndroidStudio.bak
mv .AndroidStudio1.1 .AndroidStudio1.1.bak
mv .AndroidStudio1.2 .AndroidStudio1.2.bak
Go to preference > Plugins uncheck the plugins which appear in red colour and recheck it again.
Do apply
Now the issue will get resolved
Resetting Android Studio worked for me!
You can reset studio by deleting .AndroidStudio directory from Users directory.
C:\Users\Abc\\.AndroidStudio
Thanks.
I'd recommend you do a uninstall of Android Studio and then do a clean install. It might be that there are corrupted or locked system files that are causing the issue. Make sure you backup your Android projects onto a USB first - just in case.
I have solved this problem for my latest android studio
Method I ( Unhide the AppData ) :-
1) Show your hidden files from view -> hidden items(check it)
you will see hidden folders & files as light color.
2) Then go to C:\Users\john (instead of john, it should be your user name).
3) Right click on "AppData"
4) Just uncheck the Hidden box
5) Move "sdk" folder from C:\Users\john\AppData\Local\Android to C:\Users\varad\AppData
6) Open android studio, goto Configure-> Project defaults ->Project structure
7) update new path of SDK like C:\Users\john\AppData\sdk
Restart Android Studio.
Method II ( Move your SDK to another location) :-
1) Move "sdk" folder from C:\Users\john\AppData\Local\Android to any folder you want.
2) Then update the SDK path in Android Studio from goto Configure-> Project defaults ->Project structure
3)Restart Android Studio.
:-) Enjoy Android Development.
I go this path:
C:\Users\...YOUR-USER-NAME...\.AndroidStudio3.2\config\disabled_plugins.txt
remove this line:
org.jetbrains.android
then refresh SDK in settings. Works fine now :)
This morning I downloaded android studio 2.1, and tried to create new project unfortunately I can't create new project, and I found this post #pyus13 suggests that to reset android studio, but it can't solve this problem.
And I checked android sdk in \AppData\Local\Android\sdk, saw android-23 in platform folder, with my previous experience with eclipse it is ready for running. A couple of hour I found a way to solve this problem, I download android 6.0, api 23 (SDK platform) with android SDK Manager. Do again for creating new project, it is ok.
Thank
For MAC User
All plugins, SDK setting was correct still faced the problem.
Applied following solution - on MAC
Give read write permission to .android folder
sudo chmod -R 777 .android

Categories

Resources