编译Android 4.0 ICS,报错couldn't locate source file: framework/layoutlib-tests.jar
来源:互联网 发布:编程计算圆的面积c 编辑:程序博客网 时间:2024/05/17 04:54
在编译android4.0.1版本的言吗的时候,在根目录下执行lunch sdk-eng,然后执行 make sdk,出现下面的错误。
然后google了一下哦,解决方法列在下面。
Package SDK: out/host/linux-x86/sdk/android-sdk_eng.wangwei_linux-x86.zip
development/build/sdk.atree:229: couldn't locate source file: framework/layoutlib-tests.jardevelopment/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:149: couldn't locate source file: framework/sdklib-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.wangwei_linux-x86.zip] 错误 44
编译 sdk 时,先运行 lunch sdk-eng,不然编译会出错,形如:
development/build/sdk.atree:229: couldn't locate source file: framework/layoutlib-tests.jar
lunch 的自动补全中没有 sdk-eng,但实际上是支持的。
lunch sdk-eng 与 lunch full-eng 只有惟一的区别:一个的target是sdk,一个的是full。
按照上面的提示,我就编译通过了。
参考:
编译Android 4.0 ICS注意事项
- 编译Android 4.0 ICS,报错couldn't locate source file: framework/layoutlib-tests.jar
- 编译android源码couldn't locate source file: framework/layoutlib-tests.jar
- Android 4.2.2_r1 online-gcm-ref及couldn't locate source file编译错误解决
- Android aidl 编译报couldn't find import for class
- Android aidl 编译报couldn't find import for class
- android Eclipse导入com.android.internal.R和layoutlib.jar报错解决方案
- Xcode报错:can't locate file for: -xxxx 解决
- webpack 编译报错 Couldn't find preset "env"
- IOS编译报错-The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- Android AIDL编译报couldn't find import for class android.content.Intent
- 编译android 4.0 (ICS)
- Android中AIDL 编译报couldn't find import for class解决办法
- Xcode报错提示:“Info.plist couldn't be opened because there is no such file”
- 运行程序报错:the file"xxx"couldn't be open because you don't have permisslion to view it
- iOS运行报错:the file couldn't be opened because you don't have permission to view it 。
- IOS开发报错-The file “XXXX” couldn’t be opened because you don’t have permission to view it.
- 编译过程中,.so文件被删除,不见了,运行报错 UnsatisfiedLinkError: Couldn't load anysdk
- Eclipse编译AIDL报错couldn't find import for class
- 商人过河的另一个版本(商人数, 船载人数可变)
- Oracle、MYSQL、sql server和DB2分页查询写法
- Linux find命令小结
- C++变量命名规则
- ldd 的一个安全问题(http://blog.csdn.net/haoel/article/details/4795024)
- 编译Android 4.0 ICS,报错couldn't locate source file: framework/layoutlib-tests.jar
- PHP环境搭建
- 【产品设计】 HT实验室:功能设计面面俱到就强大吗?
- 判断ckeckbox是否被选中的两种方法总结
- ORA-01659解决办法
- 计算机的作用
- Android中隐藏标题栏和状态栏
- makefiles快速上手简单教程
- 数据中心选址方案