123456789101112131415161718 |
- #!/bin/bash
- set -e
- paru -S android-sdk android-sdk-platform-tools android-sdk-build-tools android-platform scrcpy
- {
- echo ""
- echo "# android path"
- echo "export ANDROID_HOME=/opt/android-sdk/"
- echo "export PATH=\$PATH:\$ANDROID_HOME/tools:\$ANDROID_HOME/platform-tools"
- }>>~/.bashrc
- source ~/.bashrc
|