您的位置:首页 > 移动开发 > Android开发

Android: 从 Android Source Tree 中编译SDK的正确方法

2013-01-29 13:21 513 查看
$ source build/envsetup.sh
$ lunch sdk-eng

$ make sdk

注意:执行make sdk前必须正确地配置,否则会出现有些文件无法找到的错误:

Package SDK: out/host/linux-x86/sdk/android-sdk_eng.rzzhang_linux-x86.zip

development/build/sdk.atree:229: couldn't locate source file: framework/layoutlib-tests.jar

development/build/sdk.atree:230: couldn't locate source file: system/app/ConnectivityTest.apk

development/build/sdk.atree:231: couldn't locate source file: system/app/GpsLocationTest.apk

sdk/build/tools.atree:47: couldn't locate source file: usr/share/pc-bios/bios.bin

sdk/build/tools.atree:48: couldn't locate source file: usr/share/pc-bios/vgabios-cirrus.bin

sdk/build/tools.atree:146: couldn't locate source file: framework/ddmlib-tests.jar

sdk/build/tools.atree:147: couldn't locate source file: framework/ninepatch-tests.jar

sdk/build/tools.atree:148: couldn't locate source file: framework/common-tests.jar

sdk/build/tools.atree:150: couldn't locate source file: framework/sdkuilib-tests.jar

make: *** [out/host/linux-x86/sdk/android-sdk_eng.rzzhang_linux-x86.zip] 错误 44
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐