1. curl https://android.git.kernel.org/repo >repo && chmod +x repo
2. mkdir android-sdk && cd android-sdk
3. ../repo init -u git://android.git.kernel.org/platform/manifest.git
asks a few questions
4. ../repo sync
takes ~.5 hours
5. sed -i 's/^$(error stop)/#&/' build/core/main.mk
java5 does not exist in karmic, lucid, or maverick.
this might cause problems.
building:
1. make
ignore the errors about java (see #5 above)
takes ~2 hours
outputs to "out/host/linux-x86" directory?
2. cd ..
assuming no errors, you're done BULIDING the SDK.
(installing, packaging, or testing is more complicated and described later)
Alwin suggested I post these notes here. I have more notes on how to install and test the SDK, let me know if you would like those too.
setup on 64bit:
(lucid or maverick)
1. sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libsdl-dev openjdk-6-jdk curl
setup on 32bit:
(lucid or maverick)
1. sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev openjdk-6-jdk curl
checkout:
1. curl https:/ /android. git.kernel. org/repo >repo && chmod +x repo git.kernel. org/platform/ manifest. git
2. mkdir android-sdk && cd android-sdk
3. ../repo init -u git://android.
asks a few questions
4. ../repo sync
takes ~.5 hours
5. sed -i 's/^$(error stop)/#&/' build/core/main.mk
java5 does not exist in karmic, lucid, or maverick.
this might cause problems.
building:
1. make linux-x86" directory?
ignore the errors about java (see #5 above)
takes ~2 hours
outputs to "out/host/
2. cd ..
assuming no errors, you're done BULIDING the SDK.
(installing, packaging, or testing is more complicated and described later)
sources: source. android. com/download developer. android. com/sdk/
http://
http://
Again, I have more notes on how to install and test the SDK so let me know if you want those notes.
adrian