No files in working folder after running repo sync

70 views
Skip to first unread message

Lord Unknown

unread,
Jul 24, 2019, 1:20:52 PM7/24/19
to Android Building
Hi everyone,

I ran repo init and repo sync in /vagrant/android (I'm running Ubuntu 14.04 in Vagrant). I ran ls in /vagrant/android and there were no folders, except .repo

What could happen with folders? And how to solve this problem?

The commands that I've used: 
repo init -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r45 -p linux --depth=1
repo sync -j9

Regards,
- Michael

Glenn Kasten

unread,
Jul 24, 2019, 1:23:02 PM7/24/19
to Android Building
Can you please include a short excerpt of just any errors in the output of the repo init and sync?

Lord Unknown

unread,
Jul 24, 2019, 7:02:09 PM7/24/19
to android-...@googlegroups.com
Hi Glenn,

Here's all the errors in repo sync: https://hastebin.com/quxuwumexo
repo init did not output any errors.

Here's the full output: https://hastebin.com/locubibaju

The internet connection was a bit slow today. Maybe that's the issue.

Thank you in advance,
- Michael

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/b06387f6-81e5-4d84-a825-f3687ae88979%40googlegroups.com.

Lord Unknown

unread,
Jul 24, 2019, 7:02:12 PM7/24/19
to android-...@googlegroups.com
Sorry for a delayed response. I forgot to add that I reran `repo init` and `repo sync`.

Glenn Kasten

unread,
Jul 25, 2019, 10:54:44 AM7/25/19
to Android Building
Yes it looks like the DNS lookup failed: Could not resolve host: android.googlesource.com
but strange that it succeeded earlier. As you mentioned, perhaps try again.

On Wednesday, July 24, 2019 at 4:02:09 PM UTC-7, Lord Unknown wrote:
Hi Glenn,

Here's all the errors in repo sync: https://hastebin.com/quxuwumexo
repo init did not output any errors.

Here's the full output: https://hastebin.com/locubibaju

The internet connection was a bit slow today. Maybe that's the issue.

Thank you in advance,
- Michael

On Wed, Jul 24, 2019 at 8:23 PM 'Glenn Kasten' via Android Building <android-building@googlegroups.com> wrote:
Can you please include a short excerpt of just any errors in the output of the repo init and sync?

On Wednesday, July 24, 2019 at 10:20:52 AM UTC-7, Lord Unknown wrote:
Hi everyone,

I ran repo init and repo sync in /vagrant/android (I'm running Ubuntu 14.04 in Vagrant). I ran ls in /vagrant/android and there were no folders, except .repo

What could happen with folders? And how to solve this problem?

The commands that I've used: 
repo init -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r45 -p linux --depth=1
repo sync -j9

Regards,
- Michael

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-building@googlegroups.com

To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscribe@googlegroups.com.

Abhi jr

unread,
Jul 25, 2019, 11:01:02 AM7/25/19
to Android Building
Don't give repo init command every time if u get fetch errors and also just remove "-p linux --depth=1" from repo init and try. Also don't specify the threads for downloading (-j9) in repo sync command, let it just download by using default threads. If in case you get fetch error again just give repo sync again without repo init.

For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-...@googlegroups.com.

Toan Pham

unread,
Jul 26, 2019, 11:19:19 AM7/26/19
to Android Building
Hi Glenn,
Last time I face this issue when I using Vmware to fetch AOSP, I try "repo" command but nothing happen.
And I found that KIS (kaspersky internet security) does not allow to connect to google server.
If you have any anti-virus on your system, you could disable and try again.
Hope this can help.

Thank!

Vào 00:20:52 UTC+7 Thứ Năm, ngày 25 tháng 7 năm 2019, Lord Unknown đã viết:
Reply all
Reply to author
Forward
0 new messages