Skip to content

Instantly share code, notes, and snippets.

@SunRain
SunRain / Android SDK Emulator Compile CyanogenMod (Linux)
Created January 26, 2012 07:18
Android SDK Emulator: Compile CyanogenMod (SUSE)
NOTE: You only need to do these steps the first time you build. If you previously prepared your build environment, skip to Download RomManager.
NOTE:
在准备开工之前,请务必确保硬盘工作空间不少于20G(最低不能低于15G),且不能是VFAT或NTFS格式。
Install the ADB
Install the Android SDK.
Install the Build Packages
@SunRain
SunRain / openSUSE入门(JDK和MySQL的安装)
Created January 26, 2012 07:17
openSUSE入门(JDK和MySQL的安装)
网上已经有很多文章仔细介绍了Linux下JDK的安装步骤了。大家可以摆渡或google一下。这边我只想写下我安装的步骤,其实很简单,就两个步骤吧:
  1.从sun网站下载JDK(记住要下载linux版本的),现在的是jdk-6u12-linux-i586-rpm.bin (记住要下载末尾是-rpm.bin的那个)
  2.安装JDK。首先chmod a+x jdk-6u12-linux-i586-rpm.bin 给这个文件赋予可执行权限。然后切换到root权限下,执行./jdk-6u12-linux-i586-rpm.bin 这个文件 。
  Over!!!
  不出意外地话,这样JDK就已经安装成功啦!!!
@SunRain
SunRain / ccache_help
Created January 14, 2012 02:12 — forked from adumont/ccache_help
Use ccache to reduce build time
Install ccache:
In Arch:
$ sudo pacman -S ccache
Or Ubuntu:
$ sudo apt-get install ccache
@SunRain
SunRain / archlinux_android
Created January 14, 2012 02:03 — forked from adumont/archlinux_android
ArchLinux for building Android
pacman -Sy
pacman -S --needed python2 perl git gnupg flex bison gperf zip unzip sdl wxgtk squashfs-tools ncurses libpng
zlib libusb libusb-compat readline inetutils
pacman -S --needed schedtool
pacman -S --needed openjdk6
## for x86_64?
pacman -S --needed gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-libusb lib32-libusb-compat lib32-readline lib32-glibc lib32-zlib
Install yaourt (& package-query):