aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-07-14 19:49:59 +0200
committersrdusr <trevorgray@srdusr.com>2023-07-14 19:49:59 +0200
commitc0a1ac06b6cd18da46ed43790ace10fb3c967d0f (patch)
tree23840c113bbe92de12d6b519df1a73b4af31f97a
parent6150d9ee7a82629ef3e65f1210a3784af55ea090 (diff)
downloaddotfiles-c0a1ac06b6cd18da46ed43790ace10fb3c967d0f.tar.gz
dotfiles-c0a1ac06b6cd18da46ed43790ace10fb3c967d0f.zip
Change Android Studio from using /home/srdusr/Android to /opt/android-sdk
-rw-r--r--README.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/README.md b/README.md
index 662a42a..0820dd0 100644
--- a/README.md
+++ b/README.md
@@ -190,9 +190,15 @@ $ sudo mysql
```bash
$ sudo mkdir /opt/android-sdk
```
- - Click on the folder icon next to the SDK path field.
- - In the file picker dialog, navigate to the /opt directory and select the android-sdk directory.
- - Proceed with the setup wizard, following the remaining instructions to complete the installation.
+ - Click on the folder icon next to the SDK path field.
+ - In the file picker dialog, navigate to the /opt directory and select the android-sdk directory.
+ - Proceed with the setup wizard, following the remaining instructions to complete the installation.
+- If already installed and prefer not to have a `$HOME/Android` directory but rather use `/opt/android-sdk`
+ - Launch Android Studio.
+ - Go to "File" > "Settings" (on Windows/Linux) or "Android Studio" > "Preferences" (on macOS) to open the settings.
+ - In the settings, navigate to "Appearance & Behavior" > "System Settings" > "Android SDK".
+ - In the "Android SDK Location" field, update the path to `/opt/android-sdk`.
+ - Click "Apply" or "OK" to save the settings.
- Put these lines into `.bashrc`/`.zshrc` or any similar shell configuration file to make it persistent across sessions
```