I am trying to build Android on my MacOS, but it gives me this error:
"sed: illegal option -- r"
I tried:
make bootimage
make systemimage
make recovery
brunch
mka bacon
All of them give me the same error.
Another option is to use homebrew to install gnu-sed:
brew install gnu-sed --with-default-names
Editing PATH manually is one way. However, this is an alternative solution that might work for some.
Most of the developers these days have conda.
conda can install the latest sed
and make it visible via $PATH
conda install -c conda-forge sed
conda takes care of editing PATH variable
P.S.
Most believe conda is a package manager for python, but that is not entirely true. I install everything using conda. And it manages environment variables such as PATH
really well.
https://superuser.com/a/1304148/266871
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With