안드로이드 config, system, avd, gradle 중요 (path move) 변경

2015/10/14 13:13

먼저 .gradle 폴더

  1. From Android Studio, go to File > Other Settings > Default Settings.
  2. Select Gradle.
  3. Change Service directory path to desired folder.
  4. Save the setting.

디폴드 값은 아래와 같다.

C drive (usually C:\Users\yourusername\.gradle)


Android Virtual Devices

아래와 같이 화경변수 등한다.

  1. Close Android Studio if any.
  2. Move .android folder (usually at C:\Users\yourusername\.android) to destination drive (e.g. D:\Android)
  3. From Windows, go to Control Panel > System > Advanced system settings
  4. Go to Advanced tab > Environment Variables.
  5. Under System variables, click New... button.
  6. Type in the following:
    Variable name: ANDROID_SDK_HOME
    Variable value: D:\Android
  7. Click OK and OK again.

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.

  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

행복한 안드로이드 프로그래밍이 되길 기원하다 ^__^;