posted by bluelimn 2018.06.18 15:28

./source build/envsetup.sh



select 1

Lunch menu... pick a combo:

     1. aosp_angler-userdebug



Download vendor images

https://developers.google.com/android/blobs-preview



chmod +x extract-qcom-angler.sh

chmod +x extract-huawei-angler.sh


./extract-qcom-angler.sh

./extract-huawei-angler.sh


==========================================

merge 3 fix

https://groups.google.com/forum/#!topic/android-building/JfgzeR_S9N4


prebuilts/tools:

git fetch https://android.googlesource.com/platform/prebuilts/tools refs/changes/02/682002/1 && git cherry-pick FETCH_HEAD

 

external/e2fsprogs/

git fetch https://android.googlesource.com/platform/external/e2fsprogs refs/changes/05/683305/1 && git cherry-pick FETCH_HEAD

 

external/f2fs-tools

git fetch https://android.googlesource.com/platform/external/f2fs-tools refs/changes/06/683306/1 && git cherry-pick FETCH_HEAD



make -j16




=================== Error======================

Error message: 

ninja: error: 'out/host/common/obj/JAVA_LIBRARIES/javapoet-prebuilt-jar_intermediates/classes.jar', needed by 'out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar', missing and no known rule to make it

 

Solution:

https://android-review.googlesource.com/c/platform/external/e2fsprogs/+/683305 

https://android-review.googlesource.com/c/platform/external/f2fs-tools/+/683306 

 

With those 3 patches (first one was 

https://android-review.googlesource.com/c/platform/prebuilts/tools/+/682002 

for anyone who missed that), android-p-preview-2 builds and mostly 

works (tried on Nexus 6P with latest blobs from 

https://developers.google.com/android/blobs-preview ). 

TAG

티스토리 툴바