1. Download our Official Android App: Forums for Android!

Move Android Studio to D Drive

Discussion in 'Android Development' started by ac4android, Aug 15, 2017.

  1. ac4android

    ac4android Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    198
    Joined:
    Nov 3, 2015

    Nov 3, 2015
    198
    29
    53
    I am having the same problem most people have: new computer comes with a small SSD C drive, most of which is dedicated to Windows 10, I need to move AS to D drive.

    I followed the instructions on this link and got the "hamcrest" error that many people seem to get:
    http://www.littlecpu.com/android-studio-c-drive

    This is the error message in the Gradle-Sync box:
    Error: Could not download hamcrest:hamcrest-core:1.3): No cached version available for offline mode.

    What is the exact, proven step-by-step instruction in relocating AS from C: to D: without spending a few days on it.


    PS: Aha, AS keeps creating a NEW .gradle in c:\Users\<username>\.gradle rather than use the one in D drive. HOW do I get AS to use the D:\Users\<username>\.gradle
     

    Advertisement

    #1 ac4android, Aug 15, 2017
    Last edited: Aug 15, 2017
    sweetndreemy73 likes this.
  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,843
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,843
    11,445
    1,988
    Male
    Software developer
    South West of England
    I would be inclined to uninstall Android Studio from its current location. Then reinstall AS in its new location.
     

Share This Page

Loading...