1) . build/envsetup.sh
2) lunch custom_platform-eng
3) make -j4 sdk
4) It creates a sdk directory in out/host/linux-x86/sdk/android-sdk_eng.USERNAME_linux-x86/
5) Copy that directory somewhere, e.g. "/etc/android-sdk-custom"
6) In Eclipse: Preferences > Android, select SDK Location and point to "/etc/android-sdk-custom", Click Apply
7) You can now create an Android application that is linked against your customised Android Platform
Build Android SDK for Windows
1) sudo apt-get install mingw32 tofrodos
2) . build/envsetup.sh
3) lunch custom_platform-eng
4) make -j4 win_sdk
References:
http://tools.android.com/build
沒有留言:
張貼留言