[Linux] Fix android setup
This commit is contained in:
parent
2137b0b5c0
commit
04ca1bfdba
13
tasks/shell/arch_android_development.sh
Normal file → Executable file
13
tasks/shell/arch_android_development.sh
Normal file → Executable 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
|
||||||
|
Loading…
Reference in New Issue
Block a user