After the repo sync was done , I start do the following steps.
source build/envsetup.sh # this works fine.
lunch # there was several problems. Here they are.
===============
dyld: Library not loaded: @rpath/libcrypto-host.dylib
Referenced from: /Volumes/AOSP/android-r-preview-4/prebuilts/build-tools/path/darwin-x86/date
Reason: image not found
dyld: Library not loaded: @rpath/libcrypto-host.dylib
Referenced from: /Volumes/AOSP/android-r-preview-4/prebuilts/build-tools/path/darwin-x86/date
Reason: image not found
dyld: Library not loaded: @rpath/libcrypto-host.dylib
Referenced from: /Volumes/AOSP/android-r-preview-4/prebuilts/build-tools/path/darwin-x86/date
Reason: image not found
/bin/bash: line 1: 68924 Done echo a
68925 Abort trap: 6 | sed -E -e 's/a/b/' 2> /dev/null
/bin/bash: line 1: 68927 Done echo c
68928 Abort trap: 6 | sed -r -e 's/c/d/' 2> /dev/null
==============================
I fiexed the dyld problem by using install_name_tool.
But there still 2 problem to be solved.
=========
/bin/bash: line 1: 68924 Done echo a
68925 Abort trap: 6 | sed -E -e 's/a/b/' 2> /dev/null
/bin/bash: line 1: 68927 Done echo c
68928 Abort trap: 6 | sed -r -e 's/c/d/' 2> /dev/null
-===========
How should I fix it?