Setup Ubuntu 13.04 raring for Android building

So what’s up with Ubuntu 13.04 raring and android building?
Basically the process is no different than 12.04 except that you need to uses the raring bins and of course correct oracle JDK ppa.

1) check that in your /etc/apt/sources.list you have

 deb raring partner
 deb-src raring partner
deb raring main
 deb-src raring main

not “lucid”

2) as I worote in
install Oracle JDK this way:

sudo add-apt-repository ppa:webupd8team/java
 sudo apt-get update && sudo apt-get install oracle-java6-installer

then as usual:

$ sudo apt-get install git gnupg flex bison gperf build-essential \
  zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  python-markdown libxml2-utils xsltproc zlib1g-dev:i386
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/ /usr/lib/i386-linux-gnu/

and off you go 🙂