android4.2源码编译调试出错
2014-03-07 13:43
218 查看
我最近编译源码突然发现以下错误:
doudouhe@ubuntu:/media/74E0CCF7E0CCC11A/WORKING_DIRECTORY$ lunch full-eng
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: 权限不够
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: 权限不够
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: 权限不够
/bin/bash: build/core/find-jdk-tools-jar.sh: 权限不够
build/core/config.mk:268: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com。 停止。
** Don't have a product spec for: 'full'
** Do you have the right repo manifest?
可能是文件权限问题
用ls -al 查看整个源代码的权限和用户属性
更改文件夹及子文件的权限: chmod -R 777 文件/目录
更改文件夹及子文件的属性:chown -R userName:groupName 文件/目录
之后该问题解决了
doudouhe@ubuntu:/media/74E0CCF7E0CCC11A/WORKING_DIRECTORY$ lunch full-eng
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: 权限不够
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: 权限不够
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: 权限不够
/bin/bash: build/core/find-jdk-tools-jar.sh: 权限不够
build/core/config.mk:268: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com。 停止。
** Don't have a product spec for: 'full'
** Do you have the right repo manifest?
可能是文件权限问题
用ls -al 查看整个源代码的权限和用户属性
更改文件夹及子文件的权限: chmod -R 777 文件/目录
更改文件夹及子文件的属性:chown -R userName:groupName 文件/目录
之后该问题解决了
相关文章推荐
- Android瀑布流照片墙实现,体验不规则排列的美感
- Android照片墙应用实现,再多的图片也不怕崩溃
- android 开发入门(一)
- android 输入系统
- android APK签名过程之CERT.SF分析
- Android中图表AChartEngine学习使用与例子
- Android中图表AChartEngine学习使用与例子
- Android应用开发SharedPreferences存储数据的使用方法
- Android 进程和线程详解
- 编译Android4.4系统总结
- Android学习笔记(四十):Preference的使用
- Android Bind Service 使用Messenger
- 在android上使用valgrind检测内存泄漏
- 关于Android 获得图片的总结
- android学习和广告平台赚钱
- 编译不同类型Android程序时,Android.mk文件的定义
- android 程序中选择图片的代码
- android开发——获取手机联系人
- android APK签名过程之MANIFEST.MF分析
- 在Android源码树中添加userspace I2C读写工具(i2c-util)