[Linux] Fix android setup

This commit is contained in:
Ivan Malison 2017-09-15 03:16:20 -07:00
parent 2137b0b5c0
commit 04ca1bfdba
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

13
tasks/shell/arch_android_development.sh Normal file → Executable file
View File

@ -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 pacaur -S android-platform android-sdk android-sdk-platform-tools android-sdk-build-tools --noconfirm --noedit --needed
groupadd sdkusers sudo groupadd asdkusers
gpasswd -a $(whoami) asdkusers sudo gpasswd -a "$(whoami)" asdkusers
sudo -v
sudo chown -R :asdkusers /opt/android-sdk/ sudo chown -R :asdkusers /opt/android-sdk/
sudo chmod -R g+w /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