Problem with downloading android source on Ubuntu 12.04

December 6, 2018 677 views
Ubuntu Development

I am having an issue that I just can not figure out how to fix. I am trying to download the source for Android 4.0.3 and it hangs at Resolving deltas… I am using the 8vCPUs droplet with 32gb ram. I run the following commands:

repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.3_r1
repo sync (even tried with -j# and -f)

Then it stops around here:


 * [new tag]         android-wear-n-preview-1 -> android-wear-n-preview-1
 * [new tag]         android-wear-n-preview-2 -> android-wear-n-preview-2
 * [new tag]         android-wear-o-preview-3 -> android-wear-o-preview-3
 * [new tag]         android-wear-o-preview-4 -> android-wear-o-preview-4
 * [new tag]         android-wear-p-preview-2 -> android-wear-p-preview-2
Resolving deltas: 100% (1971780/1971780), done.

When I open another session, I run the top command and it shows git is using 100% cpu!!

I hit ctrl+c and I get error: Cannot fetch platform/frameworks/base

I tried deleting the .repo folder and starting over but didn’t help…

Any advice??

Thanks, Travis

1 comment
  • Update: I feel dumb… It worked fine after I did the do-release-upgrade command to update my droplet to 14.04… I thought when source.android.com said “Android 2.3.x (Gingerbread) - Android 5.x (Lollipop): Ubuntu 12.04 (Precise)” that I should use 12.04....

1 Answer

This question was answered by @FootballFan141:

Update: I feel dumb… It worked fine after I did the do-release-upgrade command to update my droplet to 14.04… I thought when source.android.com said “Android 2.3.x (Gingerbread) - Android 5.x (Lollipop): Ubuntu 12.04 (Precise)” that I should use 12.04....

View the original comment

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!