编译android问题

编译打包和其他
回复
头像
懒刺猬
帖子: 77
注册时间: 2009-10-15 11:25

编译android问题

#1

帖子 懒刺猬 » 2010-08-05 15:55

学习编译android
运行下面命令
$ repo init -u git:/ / git.android-x86.org/manifest.git - b eclair-x86
结果如下什么意思
Usage: repo init -u url [options]

之后的repo sync执行是个这

error: command 'sync' requires repo to be installed first.
Use "repo init" to install it here.

俺是新手,请多指教,谢谢
头像
懒刺猬
帖子: 77
注册时间: 2009-10-15 11:25

Re: 编译android问题

#2

帖子 懒刺猬 » 2010-08-05 16:22

原来是没有安装这个

sudo apt-get install git-core curl

呵呵!正在repo init哈
头像
懒刺猬
帖子: 77
注册时间: 2009-10-15 11:25

Re: 编译android问题

#3

帖子 懒刺猬 » 2010-08-05 17:03

还是没有成功如下:

make iso_img TARGET_PRODUCT=eeepc
make: *** 没有规则可以创建目标“iso_img”。 停止。

我傻了 :em20
头像
DearTanker
帖子: 17
注册时间: 2010-12-07 19:49

Re: 编译android问题

#4

帖子 DearTanker » 2011-05-27 23:42

根据source.android.com的提示,
先输入$ repo init -u git://android.git.kernel.org/platform/manifest.git
然后再执行repo sync
jinbu2002cn
帖子: 19
注册时间: 2007-02-17 1:57
联系:

Re: 编译android问题

#5

帖子 jinbu2002cn » 2011-07-02 17:03

我repo sync同步成功了100% 3.3GB的Android源代码文件,但是 不知道为何每次到了make编译这一步之后,总提示错误在line1上,如下:
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp] 错误 1
有sundy老师(在verycd.com上发布过android视频的老师,我是看了这个AAF110519_Android.Framework源码下载及编译-1.mp4和AAF110519_Android.Framework源码下载及编译-2.mp4)说,是ubuntu1104的bug,要 打个补丁,
repo download platform/external/gemu 22776/1
但是每次都会被提示说没有repo这个命令或者软件安装。
真的不知道如何搞了。
求助。
love job!
头像
c43035
帖子: 724
注册时间: 2008-10-22 14:29
联系:

Re: 编译android问题

#6

帖子 c43035 » 2011-07-02 17:26

:em20 :em20

代码: 全选

www.bashell.org
亲,走过路过,不要错过
回复