Building customised Android SDK

若您覺得文章寫得不錯,請點選文章上的廣告,來支持小編,謝謝。

Build Android SDK for Linux
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

沒有留言:

張貼留言