From 04ca1bfdba10986135e3f17840ffa0b4b6b187bd Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 15 Sep 2017 03:16:20 -0700 Subject: [PATCH] [Linux] Fix android setup --- tasks/shell/arch_android_development.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) mode change 100644 => 100755 tasks/shell/arch_android_development.sh diff --git a/tasks/shell/arch_android_development.sh b/tasks/shell/arch_android_development.sh old mode 100644 new mode 100755 index 3f43b3c6..ea43e94c --- a/tasks/shell/arch_android_development.sh +++ b/tasks/shell/arch_android_development.sh @@ -1,12 +1,13 @@ +#!/usr/bin/env zsh + pacaur -S android-platform android-sdk android-sdk-platform-tools android-sdk-build-tools --noconfirm --noedit --needed -groupadd sdkusers -gpasswd -a $(whoami) asdkusers - -sudo -v +sudo groupadd asdkusers +sudo gpasswd -a "$(whoami)" asdkusers sudo chown -R :asdkusers /opt/android-sdk/ sudo chmod -R g+w /opt/android-sdk/ -sudo newgrp sdkusers +sudo newgrp asdkusers -pacaur -S android-platform-25 +pacaur -S android-platform-25 --noconfirm --noedit --needed +pacaur -S android-studio --noconfirm --noedit --needed