Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Android build in ArchLinux

Build in Arch

Packages

Turn on multilib

pacman -Sy --needed base base-devel bc python python2 python-pip python2-pip jdk8-openjdk perl git gnupg flex bison gperf zip unzip sdl wxgtk squashfs-tools ncurses libpng zlib libusb libusb-compat readline inetutils schedtool gperf imagemagick lzop pngcrush rsync

pacman -Sy --needed gcc-multilib gcc-libs-multilib libtool-multilib \
lib32-libusb lib32-readline lib32-glibc bash-completion lib32-zlib

#AUR
yay -Sy --needed lib32-libusb-compat android-sdk android-sdk-platform-tools android-udev esd-oss pngcrush repo tcp_wrappers termcap perl-switch
mkdir -p /opt/bin
wget https://storage.googleapis.com/git-repo-downloads/repo -O /opt/bin/repo ; sudo chmod 755 /opt/bin/repo
ln -sf /usr/bin/python2 /opt/bin/python
set -gx PATH /opt/bin $PATH
Also see

http://movilzona.es/wiki/index.php/DevMake#Por_pasos http://rootzwiki.com/topic/9287-how-to-setup-android-build-environment-on-arch-linux-64bit/page__hl__%2Barch+%2Blinux__fromsearch__1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment