git android pdk,Android源码下载,Syncing work tree: error

gaojs@ubuntu:~/bin/android4.3-r3$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.3_r3.1gaojs@ubuntu:~/bin/android4.3-r3$ sudo gedit .repo/manifest.xml修改字段:fetch= "https://android.googlesource.com/"gaojs@ubuntu:~/bin/android4.3-r3$repo sync -j8返回如下的信息:

Fetching projects:  88% (328/372)  fatal: Couldn't find remote ref refs/tags/android-4.3_r3

Unexpected end of command stream

Fetching projects:  89% (332/372)  fatal: Couldn't find remote ref refs/tags/android-4.3_r3

Fetching projects:  90% (335/372)  Unexpected end of command stream

Fetching projects:  96% (358/372)  fatal: Couldn't find remote ref refs/tags/android-4.3_r3

Fetching projects:  97% (361/372)  Unexpected end of command stream

Fetching projects:  98% (365/372)  fatal: Couldn't find remote ref refs/tags/android-4.3_r3

Unexpected end of command stream

fatal: Couldn't find remote ref refs/tags/android-4.3_r3

Unexpected end of command stream

fatal: Couldn't find remote ref refs/tags/android-4.3_r3

Unexpected end of command stream

fatal: Couldn't find remote ref refs/tags/android-4.3_r3

Fetching projects:  99% (369/372)  Unexpected end of command stream

fatal: Couldn't find remote ref refs/tags/android-4.3_r3

Unexpected end of command stream

fatal: Couldn't find remote ref refs/tags/android-4.3_r3

Unexpected end of command stream

fatal: Couldn't find remote ref refs/tags/android-4.3_r3

Fetching projects: 100% (372/372), done.

Unexpected end of command stream

Syncing work tree:  87% (324/372)  error: revision refs/tags/android-4.3_r3 in platform/prebuilts/eclipse-build-deps not found

gaojs@ubuntu:~/bin/android4.3-r3$ du -h --max-depth=1

66M ./ndk

12G ./.repo

376K ./pdk

327M ./packages

1.7G ./external

1.1G ./frameworks

41M ./hardware

40M ./dalvik

55M ./device

102M ./development

11M ./build

18M ./bionic

120K ./libnativehelper

150M ./cts

43M ./libcore

116K ./abi

4.3M ./bootable

305M ./prebuilts

8.1M ./developers

7.8M ./docs

16G .

修改manifest.xml,在有问题的project里,添加revision的属性:

gaojs@ubuntu:~/bin/android4.3-r3/.repo$ gedit manifest.xmlrevision="refs/tags/android-4.3_r2"

最后,同步完成:

Syncing work tree: 100% (372/372), done.

error: frameworks/base/: platform/frameworks/base checkout 42a8fa12a333c11f0d10264b8c42f94e34a48e9b

error: tools/idea/: platform/tools/idea checkout ec47b42885c82f1ab52fb3d05d8395557abf6182

gaojs@ubuntu:~/bin/android4.3-r3$ du -h --max-depth=1

66M ./ndk

12G ./.repo

376K ./pdk

9.9M ./system

327M ./packages

1.7G ./external

1002M ./frameworks

41M ./hardware

40M ./dalvik

55M ./device

102M ./development

11M ./build

18M ./bionic

1.3G ./eclipse-build-deps

120K ./libnativehelper

150M ./cts

43M ./libcore

116K ./abi

4.3M ./bootable

4.3G ./prebuilts

34M ./sdk

534M ./tools

8.1M ./developers

7.8M ./docs

22G .

gaojs@ubuntu:~/bin/android4.3-r3$ cd .repo

gaojs@ubuntu:~/bin/android4.3-r3/.repo$ du -h --max-depth=1

52K ./manifests

2.4M ./repo

12G ./projects

2.3M ./manifests.git

12G .

gaojs@ubuntu:~/bin/android4.3-r3/.repo$ cd projects/

gaojs@ubuntu:~/bin/android4.3-r3/.repo/projects$ du -h --max-depth=1

35M ./libcore.git

15M ./bionic.git

36M ./dalvik.git

164M ./cts.git

376K ./libnativehelper.git

31M ./sdk.git

22M ./system

796M ./packages

1.1G ./external

1.2G ./frameworks

43M ./hardware

84M ./development.git

4.5G ./device

23M ./ndk.git

328K ./pdk.git

972K ./abi

6.7M ./bootable

2.9G ./prebuilts

710M ./tools

5.1M ./developers

26M ./build.git

7.3M ./docs

12G .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值