Error: Too many levels of symbolic links

42 views
Skip to first unread message

Erin Coffey

unread,
Aug 7, 2020, 12:28:29 PM8/7/20
to Android Building
I am trying to configure my vagrant (running on Ubuntu 18.04) to build ASOP emulator target. If I run '. build/envsetup.sh' directly from Ubuntu, the command works and I can then build ASOP but, when I try the setup from within my vagrant box, I get the Error:

vagrant@ubuntu-raw-base-image:ANDROID_WORKING_DIRECTORY$ . build/envsetup.sh
-bash: build/envsetup.sh: Too many levels of symbolic links

Does anyone have experience building ASOP from a vagrant environment?

I am following the steps here: https://source.android.com/setup/build/building

Thank you!

Erin Coffey

unread,
Aug 7, 2020, 2:46:25 PM8/7/20
to Android Building
Turns out my init failed in my vagrant due to missing environment variables. {self.name} I set the variables and, now init seems to be working. I'll try envsetup again when init completes
Reply all
Reply to author
Forward
0 new messages