如何编译android的SDK
时间:2010-12-01 来源:gliethttp
1. 下载froyo代码
2. 编译generic的SDK
make sdk -j4
或make PRODUCT-generic-sdk -j4
3. 编译gliethttp的SDK
export TARGET_PRODUCT=gliethttp
export TARGET_BUILD_VARIANT=user
make sdk -j4
或make PRODUCT-gliethttp-sdk -j4
4. SDK文件输出路径--out/host/linux-x86/sdk/
luther@gliethttp:~/froyo$ ll out/host/linux-x86/sdk/
total 147M
4.0K drwxrwx--- 7 luther luther 4.0K 2010-12-01 16:35 android-sdk_eng.luther_linux-x86
636K -rw-r--r-- 1 luther luther 633K 2010-12-01 16:36 sdk_deps.mk
146M -rw-r--r-- 1 luther luther 146M 2010-12-01 16:36 android-sdk_eng.luther_linux-x86.zip
2. 编译generic的SDK
make sdk -j4
或make PRODUCT-generic-sdk -j4
3. 编译gliethttp的SDK
export TARGET_PRODUCT=gliethttp
export TARGET_BUILD_VARIANT=user
make sdk -j4
或make PRODUCT-gliethttp-sdk -j4
4. SDK文件输出路径--out/host/linux-x86/sdk/
luther@gliethttp:~/froyo$ ll out/host/linux-x86/sdk/
total 147M
4.0K drwxrwx--- 7 luther luther 4.0K 2010-12-01 16:35 android-sdk_eng.luther_linux-x86
636K -rw-r--r-- 1 luther luther 633K 2010-12-01 16:36 sdk_deps.mk
146M -rw-r--r-- 1 luther luther 146M 2010-12-01 16:36 android-sdk_eng.luther_linux-x86.zip
相关阅读 更多 +