Reputation: 89
I'm going to start with the high-level "common sense" question and then get into the tech details:
The high-level question: When running the Android Studio installation program in Windows 10, and I tell it to install to D: drive (instead of the default C: drive), why does it insist on installing some components onto the C: drive?
Reasons for installing to a non-default drive:
The obvious intent was for all third-party (non-OS) programs to live on D: drive, or at least not on C: "OS" drive. (I will ignore the "separation of 'code' and 'data' design paradigm, which would rightfully require a third P: 'PROGRAM' drive, and I'll just focus on the lack-of-space problem.)
After 5 install/uninstall attempts, each time changing all "c:" text box prompts to "d:" and learning more and more about the various libraries and folders that STILL went to c: drive, I've finally found all the big ones, and set symbolic links for them, and moved their contents over to d: drive targets.
There are still a few "minor"(?) files and directories on c: drive that I'm not really sure belong to Android Studio, but I'm too chicken/lazy to set up the symbolic links for them...but here's my high-level question for the Android Studio developers:
WHY SHOULD I HAVE TO? WHY CAN'T THIS BE MADE SIMPLE AND INTUITIVE? If I tell the install program to put EVERYTHING on the d: drive (IDE, sdk, jdk, gradle, emulator, and so on) why can't the install program just do that?
Am I missing something simple here? If I am missing something simple or obvious, then why does it (and my first app) build and run just fine if I set all these symbolic links to d: drive targets?
Upvotes: 8
Views: 21518
Reputation: 245
Android Studio is now available through Portapps:
https://portapps.io/app/android-studio-portable/
Warning: portable apps have been used as an attack vector by malware distributors ...
Upvotes: 0
Reputation: 111
Change the default installation location of the programs to D or other required drive by using the following method:
Upvotes: 11