fastforward
fastforward

Reputation: 63

Android repo sync doesn't create src directories

I'm trying to compile AOSP for 6.0.1 from source. There's a strange issue I'm seeing for which I haven't found similar posts.

After downloading the source using repo sync -f, repo finishes, but the source directory is empty. It just contains the .repo directory. (.repo is > 30G, so the downloading was fine)

While doing repo sync -f there were a few packages which failed to be fetched. Others have reported sync issues but don't seem to have issues seeing the source or compiling it after repo sync has finished.

Here's what I've tried so far with not much success:

  1. Initially repo init was initialized with android-6.0.1_r41. Then tried repo init with master branch.

  2. Changed the tcp window to 0 as mentioned here: https://source.android.com/source/known-issues.html#difficulties-syncing-the-source-tree-tcp-issues

  3. Update git to latest version.

This is running on virtualbox Ubuntu 16.04.

Is there anyway to force an 'unpack' of the source?

Upvotes: 0

Views: 680

Answers (1)

Aibo.H
Aibo.H

Reputation: 11

If you repo sync finished but got no src code. just try

repo sync -c --no-tags --local-only -j4

Upvotes: 0

Related Questions