hi,
I tried to build aosp-9 for BB-AI, refs the below link :
Processor SDK Android Software Developer’s Guide
i did everything as the user guide said,my repo sync finished successfully:
repo sync -c
Fetching projects: 100% (680/680), done.
Checking out projects: 100% (680/680), done.
repo sync has finished successfully.
when I try to build aosp,
make -j8 clean
. build/envsetup.sh
lunch beagle_x15-userdebug
make -j8
I got failed:
BBB-AI/SDK/android-sdk/board-support/aosp-9.0$ make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=beagle_x15
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-91-generic-x86_64-Ubuntu-18.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.181005.003
OUT_DIR=out
============================================
ninja: no work to do.
[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: system/tools/hidl/test/vendor/1.0/Android.bp:11:15: module "hidl.tests.vendor@1.0_interface": interfaces: Cannot find interface android.hardware.tests.baz@1.0
error: system/tools/hidl/test/vendor/1.0/Android.bp:11:15: module "hidl.tests.vendor@1.0_interface": interfaces: Cannot find interface android.hardware.tests.baz@1.0
ninja: build stopped: subcommand failed.
19:12:57 soong bootstrap failed with: exit status 1
#### failed to build some targets (1 seconds) ####
anybody know how to fix it?
Thanks very much!