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
$ 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
相关文章推荐
- ffmpeg neon优化必看!!android下编译ffmpeg with neon的正确方法(已验证)
- 【分享】android下编译ffmpeg with neon的正确方法(已验证)
- ffmpeg neon优化必看!!android下编译ffmpeg with neon的正确方法(已验证)
- Android在sdk上编译调试系统原生应用的方法
- 编译Android驱动对应的C测试程序出错的解决方法以及正确流程
- ffmpeg neon优化必看!!android下编译ffmpeg with neon的正确方法
- 编译Android驱动对应的C测试程序出错的解决方法以及正确流程
- ffmpeg neon优化必看!!android下编译ffmpeg with neon的正确方法(已验证)
- Android JNI 编译正确 但是提示程序有错误无法运行 而且还看不到任何错误提示 的解决方法
- ffmpeg neon优化必看!!android下编译ffmpeg with neon的正确方法(已验证)
- 编译Android驱动对应的C测试程序出错的解决方法以及正确流程
- Android JNI 编译正确 但是提示程序有错误无法运行 而且还看不到任何错误提示 的解决方法
- android sdk manager无法下载更新的原因以及解决方法
- Android JNI 在几种IDE上的编译方法
- studio 编译报错:compileSdkVersion 'android-24' requires JDK 1.8 or later to compile.
- Android 开发中出现的错误解决方法 --编译错误
- android 集成第三方静态库的编译方法
- Android模拟器正确应用与安装方法
- android 独立编译ko包方法
- Cocos2d-x 3.2编译生成Android程序出错Error running command, return code: 2的解决方法