Re: [android-building] execute envsetup.sh

396 views
Skip to first unread message
Message has been deleted

Dan Willemsen

unread,
Apr 13, 2023, 10:51:01 AM4/13/23
to android-...@googlegroups.com
The AOSP master source tree is >100GB on disk (though likely less due to compression when downloading via git). You do need the full tree in order to run a build.

If you aren't using it, the `--partial-clone` option to `repo init` can help reduce the amount you need to download at first, though it does mean that some git operations will need network access to fetch missing objects on demand. If you don't care about the history, an alternative to that is `--depth=1` (there can be issues around updating a tree that's created like that, so in general I don't suggest it)

- Dan

On Thu, Apr 13, 2023 at 10:44 AM Artin Kennedy <artin.ke...@gmail.com> wrote:
 Hi all,
I am new in android. I want to use from m and mm macros. After googling I found that must  execute envsetup.sh.

This is my main challenge.

before getting build aosp, I get manifest with repo.  when runing "repo sync" after 6 hours, has downloaded 50G data and not stop downloading! Is it reasonable?

How can I execute build/envsetup.sh?

--
--
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/562bdfc7-0f9f-4ebd-9766-98125e7c6f40n%40googlegroups.com.

enh

unread,
Apr 13, 2023, 10:53:05 AM4/13/23
to android-...@googlegroups.com
On Thu, Apr 13, 2023 at 7:44 AM Artin Kennedy <artin.ke...@gmail.com> wrote:
 Hi all,
I am new in android. I want to use from m and mm macros. After googling I found that must  execute envsetup.sh.

This is my main challenge.

before getting build aosp, I get manifest with repo.  when runing "repo sync" after 6 hours, has downloaded 50G data and not stop downloading! Is it reasonable?

 
How can I execute build/envsetup.sh?

Reply all
Reply to author
Forward
0 new messages