How to reset Android Studio

I want to reset Android Studio 0.2.13 to indicate the default state. This means that reset all settings, delete all projects, all gradle files, so that it acts like a new installation. What steps should I follow to achieve this?

+75
android android-studio
Oct. 15 '13 at 14:39
source share
14 answers

I only know how to do this on Windows (but it should look like any OS, you just need to find the right location yourself - a Google search will help with this).

On Windows:

Go to your User Folder - in Windows 7/8 it will be:

[SYSDRIVE]:\Users\[your username] (for example, C:\Users\JohnDoe\ )

This folder should have a folder named .AndroidStudioBeta or .AndroidStudio (pay attention to the period at the beginning - so it will be hidden on some operating systems).

Delete this folder (or, even better, move it to the backup location to return it if something goes wrong).

This should match reset to your Android Studio settings.

+116
Oct 16 '13 at 7:35
source share

On mac os x

Delete these directories:

 ~/Library/Application Support/AndroidStudioBeta ~/Library/Caches/AndroidStudioBeta ~/Library/Logs/AndroidStudioBeta ~/Library/Preferences/AndroidStudioBeta 
+100
Oct 19 '13 at 15:07
source share

For MaxOSX:

 rm -rfv ~/Library/Application\ Support/AndroidStudio* rm -rfv ~/Library/Preferences/AndroidStudio* rm -rfv ~/Library/Caches/AndroidStudio* rm -rfv ~/Library/Logs/AndroidStudio* rm -rfv ~/.AndroidStudio* 

For Android Studio version 1.2.2, the configuration path is ~/Library/Application\ Support/AndroidStudio1.2/ and ~/Library/Preferences/AndroidStudio1.2 , so rm best prefix.

+41
Jul 01 '15 at 2:42
source share

On Mac OS X with Android Studio> = 1.0.0

Run the following lines:

 rm -rf ~/Library/Application Support/AndroidStudio rm -rf ~/Library/Caches/AndroidStudio rm -rf ~/Library/Logs/AndroidStudio rm -rf ~/Library/Preferences/AndroidStudio 
+29
Jan 16 '15 at 15:58
source share

From Linux, this is what I did:

Delete the .AndroidStudioBeta folder:

 rm -r ~/.AndroidStudioBeta 

Delete the project folder. For example:

 rm -r ~/AndroidStudioProjects 

I needed to do both, or the things that hung around.

Hope this helps.

+11
May 14 '14 at 10:32
source share

Linux Android Studio 0.8.6:

rm -R ~/.AndroidStudioBeta/config/

Linux Android Studio 1.0.0:

rm -R ~/.AndroidStudio/config/

+5
Aug 21 '14 at 18:46
source share

On mac

Delete them using the terminal (use: folder path [rm -rf):

 ~/Library/Preferences/AndroidStudioBeta ~/Library/Application Support/AndroidStudioBeta ~/Library/Caches/AndroidStudioBeta ~/Library/Logs/AndroidStudioBeta 
+4
Jun 19 '18 at 5:57
source share

Windows users: Find the folder C: → Users-> YourUserName →. AndroidStudio or .AndroidStudioBeta. Remove it.

Mac users: Delete them using the terminal (use: path to rm -rf path): ~ / Library / Preferences / AndroidStudioBeta ~ / Library / Application Support / AndroidStudioBeta ~ / Library / cache / AndroidStudioBeta ~ / Library / Logs / AndroidStudioBeta p>

Linus users: Delete them using the terminal (use: path to rm -r): ~ / .AndroidStudioBeta / config or ~ / .AndroidStudio / configuration

+1
Dec 28 '17 at 10:20
source share

For mac

  1. Install https://freemacsoft.net/appcleaner/
  2. Drag Android Studio to AppCleaner
  3. uncheck only the first field (saves the application and deletes the rest)
  4. Cmd + Shift + period (.) To see hidden folders in Finder
  5. Delete User Content / ~ Library / Android / SDK
  6. Open Android Studio and follow its instructions.
+1
Jan 08 '18 at 2:03
source share

We can no longer set Android Studio to its default state using the answers / methods given in this question from Android Studio 3.2.0. Here is an updated new method for this (it takes less time, since it does not require updating / installation),

For windows / mac

  1. Open my computer

  2. Go to C:\Users\Username\.android\build-cache

  3. Delete cache / files found inside build-cache folder

  4. Note: do not delete the folder with the names "3.2.0" and "3.2.1", which will be inside build-cache

  5. Restart Android Studio.

and that would completely reset your Android Studio settings from Android Studio 3.2.0 and higher.

+1
Oct 22 '18 at 12:05
source share

Linux AnddroidStudio 1.1.0

 rm -r ~/.AndroidStudio 
0
Apr 10 '15 at 22:24
source share

Build - Clear the project. Basically, this is a problem with studio 3.0. https://developer.android.com/studio/build/gradle-plugin-3-0-0.html (authorized link).

0
Nov 14 '17 at 16:44
source share
  1. Open house
  2. Press Ctrl + H (to show hidden files)
  3. Delete the AndroidStudio settings folder (as in the picture below)
  4. Restart Android Studio

Android Studio setting folders highlighted

0
Jun 29 '18 at 4:13
source share

On Windows:

First try SHIFT + F12 or Window -> Restore Default Layout

if the above step did not work, exit android studio and remove everything from the directory shown below

C:. \ Users * [USERNAME] * AndroidStudioXX

-one
Apr 21 '17 at 6:03
source share



All Articles