From where do I import settings from previous version of Android Studio?

UPDATED 28/08/2021

If you are using AndroidStudio Arctic Fox 2020.3 you will find these folders:

  • in Windows should be in c:\user\yourname\AppData\Roaming\Google\AndroidStudioX.Y
  • in Linux should be in /home/yourname/.config/Google/AndroidStudioX.Y and /home/yourname/.local/share/Google/AndroidStudioX.Y
  • in Mac should be in ~/Library/Application Support/Google/AndroidStudioX.Y

If you are using AndroidStudio 4.1/4.2 you will find these folders:

  • in Windows should be in c:\user\yourname\AppData\Roaming\Google\AndroidStudioX.Y
  • in Linux should be in /home/yourname/.config/Google/AndroidStudioX.Y and /home/yourname/.local/share/Google/AndroidStudioX.Y
  • in Mac should be in ~/Library/Application Support/Google/AndroidStudioX.Y

If you are using AndroidStudio 2.1-4.0 you will find these folders:

  • in Windows should be in c:\user\yourname\.AndroidStudioX.Y
  • in Linux should be in /home/yourname/.AndroidStudioX.Y
  • in Mac should be in ~/Library/Preferences/.AndroidStudioX.Y

If you are using AndroidStudio 2.0 you will find these folders:

  • in Windows should be in c:\user\yourname\.AndroidStudio2.0
  • in Linux should be in /home/yourname/.AndroidStudio2.0
  • in Mac should be in ~/Library/Preferences/.AndroidStudio2.0

If you are using AndroidStudio 1.5 you will find these folders:

  • in Windows should be in c:\user\yourname\.AndroidStudio1.5
  • in Linux should be in /home/yourname/.AndroidStudio1.5
  • in Mac should be in ~/Library/Preferences/.AndroidStudio1.5

If you are using .AndroidStudioPreview 1.4 you will find these folders:

  • in Windows should be in c:\user\yourname\.AndroidStudioPreview1.4
  • in Linux should be in /home/yourname/.AndroidStudioPreview1.4
  • in Mac should be in ~/Library/Preferences/.AndroidStudioPreview1.4

If you are using AndroidStudio 1.3 you will find these folders:

  • in Windows should be in c:\user\yourname\.AndroidStudio1.3
  • in Linux should be in /home/yourname/.AndroidStudio1.3
  • in Mac should be in ~/Library/Preferences/.AndroidStudio1.3

Your setting (with a Preview version):

  • in Windows should be in c:\user\yourname\.AndroidStudioPreview
  • in Linux should be in /home/yourname/.AndroidStudioPreview
  • in Mac should be in ~/Library/Preferences/AndroidStudioPreview

I used a method to trick the Android Studio to import settings from previous one without exporting the settings and it worked.

Just go to your previous .AndroidStudio\config folder, copy and paste them all to the new one (in my scenario I updated from 1.1 to 1.2 beta) .AndroidStudioPreview1.2

(For preventing any failure, please make a Rar file of your original config, also, after it works, export it so you can import it if you need it)


Starting with Android Studio 0.8.0 (Beta) its now

/home/{username}/.AndroidStudioBeta

for a *nix environment

UPDATE:

Since Android Studio is now out of beta the settings can now be found in:

/home/{username}/.AndroidStudio