Moving .android on Linux

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Android Studio complains that it can't launch the emulator due to a lack of space.
The folder ~/.android contains (among others) the virtual devices and is therefore quite big. I would like to move it to another partition where there is more space.
There are plenty of descriptions out there explaing how to move this directory: just move the directory and set the environment variable ANDROID_SDK_HOME.
The problem is, all of these explanations are for Windows.
I have moved the directory and tried setting the environment variable in ~/.bashrc (which is sourced by ~/.bash_profile) and ~/.profile while Android Studio was not running
export ANDROID_SDK_HOME='/mnt/data/accessories/android'
and in ~/.pam_environment (as recommended here)
ANDROID_SDK_HOME=/home/user/data/accessories/android
Android Studio opens happily after the time it needs, creates a new ~/.android directory without saying a word and does not find the virtual devices.
It does not matter whether I am running android-studio from the command line or via an i3 shortcut.
I have rebooted the entire system before launching Android Studio - just in case.
I am using Arch Linux and Android Studio 3.2.
How do I move ~/.android on Linux?
android
add a comment |Â
up vote
0
down vote
favorite
Android Studio complains that it can't launch the emulator due to a lack of space.
The folder ~/.android contains (among others) the virtual devices and is therefore quite big. I would like to move it to another partition where there is more space.
There are plenty of descriptions out there explaing how to move this directory: just move the directory and set the environment variable ANDROID_SDK_HOME.
The problem is, all of these explanations are for Windows.
I have moved the directory and tried setting the environment variable in ~/.bashrc (which is sourced by ~/.bash_profile) and ~/.profile while Android Studio was not running
export ANDROID_SDK_HOME='/mnt/data/accessories/android'
and in ~/.pam_environment (as recommended here)
ANDROID_SDK_HOME=/home/user/data/accessories/android
Android Studio opens happily after the time it needs, creates a new ~/.android directory without saying a word and does not find the virtual devices.
It does not matter whether I am running android-studio from the command line or via an i3 shortcut.
I have rebooted the entire system before launching Android Studio - just in case.
I am using Arch Linux and Android Studio 3.2.
How do I move ~/.android on Linux?
android
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Android Studio complains that it can't launch the emulator due to a lack of space.
The folder ~/.android contains (among others) the virtual devices and is therefore quite big. I would like to move it to another partition where there is more space.
There are plenty of descriptions out there explaing how to move this directory: just move the directory and set the environment variable ANDROID_SDK_HOME.
The problem is, all of these explanations are for Windows.
I have moved the directory and tried setting the environment variable in ~/.bashrc (which is sourced by ~/.bash_profile) and ~/.profile while Android Studio was not running
export ANDROID_SDK_HOME='/mnt/data/accessories/android'
and in ~/.pam_environment (as recommended here)
ANDROID_SDK_HOME=/home/user/data/accessories/android
Android Studio opens happily after the time it needs, creates a new ~/.android directory without saying a word and does not find the virtual devices.
It does not matter whether I am running android-studio from the command line or via an i3 shortcut.
I have rebooted the entire system before launching Android Studio - just in case.
I am using Arch Linux and Android Studio 3.2.
How do I move ~/.android on Linux?
android
Android Studio complains that it can't launch the emulator due to a lack of space.
The folder ~/.android contains (among others) the virtual devices and is therefore quite big. I would like to move it to another partition where there is more space.
There are plenty of descriptions out there explaing how to move this directory: just move the directory and set the environment variable ANDROID_SDK_HOME.
The problem is, all of these explanations are for Windows.
I have moved the directory and tried setting the environment variable in ~/.bashrc (which is sourced by ~/.bash_profile) and ~/.profile while Android Studio was not running
export ANDROID_SDK_HOME='/mnt/data/accessories/android'
and in ~/.pam_environment (as recommended here)
ANDROID_SDK_HOME=/home/user/data/accessories/android
Android Studio opens happily after the time it needs, creates a new ~/.android directory without saying a word and does not find the virtual devices.
It does not matter whether I am running android-studio from the command line or via an i3 shortcut.
I have rebooted the entire system before launching Android Studio - just in case.
I am using Arch Linux and Android Studio 3.2.
How do I move ~/.android on Linux?
android
android
asked 13 mins ago
jakun
1506
1506
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479212%2fmoving-android-on-linux%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password