From afe08398c41fdb57de56f7a8c38bfbcf41281e47 Mon Sep 17 00:00:00 2001 From: srdusr Date: Thu, 6 Jul 2023 21:21:57 +0200 Subject: Moved commands into correct order for Android Studio --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 54c1ec9..6f199d2 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ sudo setfacl -R -m g:android-sdk:rwx /opt/android-sdk sudo setfacl -d -m g:android-sdk:rwX /opt/android-sdk ``` -- Put these lines into .bashrc or .zshrc etc... +- Put these lines into .bashrc/.zshrc or any similar shell configuration file to make it persistent across sessions ``` # Android Home export ANDROID_HOME=/opt/android-sdk @@ -216,14 +216,14 @@ avdmanager create avd -n -k "system-images;android-29;default;x86" ``` $ flutter doctor --android-licenses ``` -- Run this -``` -$ flutter doctor -``` - If licences are still not accepted even after running `flutter doctor --android-licences` try these commands and then run `flutter doctor --android-licences again` ``` $ sudo chown -R $(whoami) $ANDROID_SDK_ROOT ``` +- Run this +``` +$ flutter doctor +``` - Install the android SDK command line tools (CLI) or won't be able to accept the android licenses. ``` yay -S android-sdk-cmdline-tools-latest -- cgit v1.2.3