See 
http://source.android.com/devices/tech/test_infra/tradefed/fundamentals/machine_setup.html
for how to build tradefed.  You need to run:
source build/envsetup.sh
tapas tradefed-all
make -j8

On Tue, Nov 8, 2016 at 9:46 PM, 刘月 <[email protected]> wrote:
> hello,i need help :)
>
> when i build my ASOP project
>
> step
>
> repo init -u https://android.googlesource.com/platform/manifest -b tradefed
>
> repo sync
>
> make -j8
>
> failed when  make -j8
>
> error information
>
>
> /work# make -j8
> find: `device': No such file or directory
> find: `vendor': No such file or directory
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=7.0
> TARGET_PRODUCT=aosp_arm
> TARGET_BUILD_VARIANT=eng
> TARGET_BUILD_TYPE=release
> TARGET_BUILD_APPS=
> TARGET_ARCH=arm
> TARGET_ARCH_VARIANT=armv7-a
> TARGET_CPU_VARIANT=generic
> TARGET_2ND_ARCH=
> TARGET_2ND_ARCH_VARIANT=
> TARGET_2ND_CPU_VARIANT=
> HOST_ARCH=x86_64
> HOST_2ND_ARCH=x86
> HOST_OS=linux
> HOST_OS_EXTRA=Linux-3.19.0-25-generic-x86_64-with-Ubuntu-14.04-trusty
> HOST_CROSS_OS=windows
> HOST_CROSS_ARCH=x86
> HOST_CROSS_2ND_ARCH=x86_64
> HOST_BUILD_TYPE=release
> BUILD_ID=NYC
> OUT_DIR=out
> AUX_OS_VARIANT_LIST=
> ============================================
> 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  -b out/soong -d
> out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
> error: build/kati/Android.bp:30:1: "libckati" depends on undefined module
> "libc++_static"
> error: build/kati/Android.bp:30:1: "libckati" depends on undefined module
> "libcompiler_rt-extras"
> error: build/tools/makeparallel/Android.bp:15:1: "makeparallel" depends on
> undefined module "libcompiler_rt-extras"
> error: build/tools/makeparallel/Android.bp:15:1: "makeparallel" depends on
> undefined module "libc++"
> error: build/tools/acp/Android.bp:5:1: "acp" depends on undefined module
> "libcompiler_rt-extras"
> error: build/tools/libhost/Android.bp:1:1: "libhost" depends on undefined
> module "libcompiler_rt-extras"
> error: build/tools/ijar/Android.bp:6:1: "ijar" depends on undefined module
> "libcompiler_rt-extras"
> error: build/tools/ijar/Android.bp:6:1: "ijar" depends on undefined module
> "libc++"
> error: build/tools/ziptime/Android.bp:21:1: "ziptime" depends on undefined
> module "libcompiler_rt-extras"
> error: build/tools/ziptime/Android.bp:21:1: "ziptime" depends on undefined
> module "libc++"
> error: build/kati/Android.bp:79:1: "ckati_test" depends on undefined module
> "libcompiler_rt-extras"
> error: build/kati/Android.bp:79:1: "ckati_test" depends on undefined module
> "libc++"
> error: build/kati/Android.bp:65:1: "ckati" depends on undefined module
> "libcompiler_rt-extras"
> error: build/kati/Android.bp:65:1: "ckati" depends on undefined module
> "libc++"
> error: build/kati/Android.bp:94:1: "ckati_fileutil_bench" depends on
> undefined module "libgoogle-benchmark"
> error: build/kati/Android.bp:94:1: "ckati_fileutil_bench" depends on
> undefined module "libcompiler_rt-extras"
> error: build/kati/Android.bp:94:1: "ckati_fileutil_bench" depends on
> undefined module "libc++"
> error: build/kati/Android.bp:72:1: "ckati_stamp_dump" depends on undefined
> module "libcompiler_rt-extras"
> error: build/kati/Android.bp:72:1: "ckati_stamp_dump" depends on undefined
> module "libc++"
> [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  -b out/soong --docs
> out/soong/.bootstrap/docs/soong_build.html ./Android.bp
> error: build/tools/ziptime/Android.bp:21:1: "ziptime" depends on undefined
> module "libcompiler_rt-extras"
> error: build/tools/ziptime/Android.bp:21:1: "ziptime" depends on undefined
> module "libc++"
> error: build/tools/ijar/Android.bp:6:1: "ijar" depends on undefined module
> "libcompiler_rt-extras"
> error: build/tools/ijar/Android.bp:6:1: "ijar" depends on undefined module
> "libc++"
> error: build/tools/acp/Android.bp:5:1: "acp" depends on undefined module
> "libcompiler_rt-extras"
> error: build/tools/libhost/Android.bp:1:1: "libhost" depends on undefined
> module "libcompiler_rt-extras"
> error: build/tools/makeparallel/Android.bp:15:1: "makeparallel" depends on
> undefined module "libcompiler_rt-extras"
> error: build/tools/makeparallel/Android.bp:15:1: "makeparallel" depends on
> undefined module "libc++"
> ninja: build stopped: subcommand failed.
>
> --
> --
> 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.

-- 
-- 
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