码迷,mamicode.com
首页 > 移动开发 > 详细

编译Android系统常见错误

时间:2017-06-04 10:52:33      阅读:11767      评论:0      收藏:0      [点我收藏+]

标签:amp   lint   UI   order   update   url   make   ror   not found   

技术分享

技术分享

 

ninja: build stopped: subcommand failed.

build/core/ninja.mk:153: recipe for target ‘ninja_wrapper‘ failed

make: *** [ninja_wrapper] Error 1

 

#### make failed to build some targets (13:40 (mm:ss)) ####

 

修改文件

prebuilts/sdk/tools/jack-admin

技术分享

 

然后运行

prebuild/sdk/tools/jack-admin start-kernel看看是否会出错

我的环境就出现了如下错误

[email protected]:~/my_dev/android/AOSP$ ./prebuilts/sdk/tools/jack-admin start-server

./prebuilts/sdk/tools/jack-admin: line 163: curl: command not found

./prebuilts/sdk/tools/jack-admin: line 163: curl: command not found

./prebuilts/sdk/tools/jack-admin: line 163: curl: command not found

./prebuilts/sdk/tools/jack-admin: line 163: curl: command not found

Communication error with Jack server (127), try ‘jack-diagnose‘ or see Jack server log

 

即没有安装curl

如下命令安装curl即可

sudo apt-get install curl

 

参考:

http://blog.csdn.net/HardReceiver/article/details/52650303

 

 

错误2:

技术分享

技术分享

 

xmllint:command not found

方法:sudo apt-get  install libxml2-utils

 

错误3:

技术分享

 

技术分享

解决方法:

sudo apt-get update && sudo apt-get install mesa-utils

编译Android系统常见错误

标签:amp   lint   UI   order   update   url   make   ror   not found   

原文地址:http://www.cnblogs.com/wxer/p/6939518.html

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有 京ICP备13008772号-2
迷上了代码!