I have downloaded the Android O preview version with the following steps:

   1. 
   
   repo init -u https://android.googlesource.com/platform/manifest -b 
   refs/heads/android-o-preview-2
   2. 
   
   repo sync 
   
And then,start to build the source code:

source build/envsetup.sh 

   1. lunch 1
   2. make -j8

When the building is running ,after some seconds, this build error happened:


$make
============================================
PLATFORM_VERSION_CODENAME=O
PLATFORM_VERSION=O
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-77-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NYC
OUT_DIR=out
============================================
[2/2] bootstrap out/soong/.minibootstrap/build.ninja.in
[1/2] out/soong/.bootstrap/bin/minibp 
out/soong/.minibootstrap/build.ninja.in
ninja: no work to do.
[1/2] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja 
out/soong/.bootstrap/bin/soong_build  -t -b out/soong -d 
out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: frameworks/rs/cpu_ref/Android.bp:1:1: "libRSCpuRef" depends on 
undefined module "libblas"
error: frameworks/base/media/jni/Android.bp:1:1: "libmedia_jni" depends on 
undefined module "libexif"
[2/2] soong_build docs out/soong/.bootstrap/docs/soong_build.html
FAILED: out/soong/.bootstrap/docs/soong_build.html 
out/soong/.bootstrap/bin/soong_build  -t -b out/soong --docs 
out/soong/.bootstrap/docs/soong_build.html ./Android.bp
error: frameworks/base/media/jni/Android.bp:1:1: "libmedia_jni" depends on 
undefined module "libexif"
error: frameworks/rs/cpu_ref/Android.bp:1:1: "libRSCpuRef" depends on 
undefined module "libblas"
ninja: build stopped: subcommand failed.
14:57:38 soong failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1

#### make failed to build some targets (19 seconds) ####


I don't know why, I tried to fix the dependency for system libs, but it 
does not work yet.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to