0

On my machine I have two user directories, one local on C:\Users\Username\, and another on a network path \\networkName\Home\Username.

Although Android studio was stored in C:\Program Files, and the SDK folder was set to C:\Users\Username\AppData\Local\Android\sdk, Android Studio itself insists on using the network home, saving all local application data there, and as there's no space on this directory, causing Android Studio to throw constant No enough space on the disk exceptions, or file not found.

Is there an environment variable, or registry key I need to change to get it to point at the right folder?

James Jenkinson
  • 1,563
  • 2
  • 16
  • 33

1 Answers1

0

To change the Environment variable follow the steps by @tacticurv:

1.) Open Windows explorer and right click on computer and select properties. In the control panel home that opened select advanced system settings in the left pane. Then select environment variables under advanced tab in the system properties window.

2.) Add a new user variable with name 'ANDROID_AVD_HOME' and value as path to /.android/avd/

3.) Similarly set GRADLE environment variables. This link might help - http://www.gradle.org/installation

4.) Start Android Studio - it will ask if you want to import config file. Give location to /.AndroidStudio/config

Luis Rizo
  • 2,009
  • 4
  • 15
  • 34