Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change .androidstudio2.1 folder path

I searched alot to change the path of .androidstudio2.1 I searched for it, and the internet suggested me to change the settings in idea.properties and that is my idea.properties file :

idea.config.path=D:/Android/.AndroidStudio2.1/config
idea.config.pathh=D:/Android/.AndroidStudio2.1/system

and i moved .AndroidStudio2.1 to D:/Android I started Android Studio and it told me I should import settings to complete the installation. and it recreated .AndroidStudio2.1 again in C

i found this link but i didnot understand what should i do :) http://tools.android.com/tech-docs/configuration

like image 547
Mostafa Abobakr Avatar asked Dec 17 '25 22:12

Mostafa Abobakr


2 Answers

Cache Folder :

enter image description here

Our last step is to move presumably cache folder for AS. This involves editing a text file of AS to tell AS to refer to custom location for cache folder.

  1. Close AS if any.
  2. Move .AndroidStudio to destination drive (e.g. D:\Android)
  3. Go to the folder where AS is installed (e.g. C:\Program Files\Android Studio).
  4. Go to bin directory and edit idea.propertis file using your favourite text editor.
  5. Uncomment and edit the following two lines. Point them to new location:

idea.config.path idea.system.path

Re-launch AS again. Make sure .android, .AndroidStudio and .gradle folders are not re-created at C drive. Happy coding.

See here

If you want the .AndroidStudio2.1 folder created inside the Android Studio IDE location:

Use ${idea.home.path} macro to specify location relative to IDE installation home

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.config.path=${idea.home.path}/.AndroidStudio2.1/config

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.system.path=${idea.home.path}/.AndroidStudio2.1/system

enter image description here

like image 34
ir-tech Avatar answered Dec 20 '25 12:12

ir-tech



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!