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
Cache Folder :

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.
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

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