Created
November 14, 2011 00:12
-
-
Save adumont/1362951 to your computer and use it in GitHub Desktop.
ArchLinux for building Android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pacman -Sy | |
pacman -S --needed python2 openjdk6 perl git gnupg flex bison gperf zip unzip sdl wxgtk squashfs-tools ncurses libpng zlib libusb libusb-compat readline inetutils | |
pacman -S --needed gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-libusb lib32-libusb-compat lib32-readline lib32-glibc bash-completion lib32-zlib | |
Install yaourt (& package-query): | |
add to /etc/pacman.conf: | |
[archlinuxfr] | |
Server = http://repo.archlinux.fr/$arch | |
run: | |
pacman -Sy yaourt | |
yaourt -S --needed android-sdk android-sdk-platform-tools android-udev esd-oss pngcrush repo tcp_wrappers termcap perl-switch | |
cd /usr/bin | |
[ -e python ] && mv python python.old | |
ln -s python2 python | |
In order to use adb, you have to be in the 'adbusers' group | |
For that, use: gpasswd -a USERNAME adbusers | |
Add to /etc/sysctl.conf | |
net.ipv4.tcp_window_scaling = 0 | |
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
this is a fine way of breaking everything, -Sy all the things! lol. and do not use archlinuxfr EVER.