Did you run source build/envsetup.sh and lunch as described at
https://source.android.com/setup/build/building?

On Wed, May 8, 2019 at 9:02 AM Michael Burrows <[email protected]>
wrote:

> Hey guys. My computer with ubuntu crashed which resulted in me not being
> able to run avbtool command
>
> I have my AOSP folder named AOSP.
>
> I run the *make avbtool *command inside that folder as follows:
>
> /AOSP$ make avbtool
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=9
> TARGET_PRODUCT=aosp_arm
> TARGET_BUILD_VARIANT=eng
> TARGET_BUILD_TYPE=release
> TARGET_ARCH=arm
> TARGET_ARCH_VARIANT=armv7-a-neon
> TARGET_CPU_VARIANT=generic
> HOST_ARCH=x86_64
> HOST_2ND_ARCH=x86
> HOST_OS=linux
> HOST_OS_EXTRA=Linux-4.18.0-17-generic-x86_64-Ubuntu-18.10
> HOST_CROSS_OS=windows
> HOST_CROSS_ARCH=x86
> HOST_CROSS_2ND_ARCH=x86_64
> HOST_BUILD_TYPE=release
> BUILD_ID=PQ2A.190305.002
> OUT_DIR=out
> ============================================
> ninja: no work to do.
> ninja: no work to do.
> No need to regenerate ninja file
> No need to regenerate ninja file
>
> ninja: no work to do.
>
> When I try using the avbtool to get information about my system.img
>
> *AOSP$  avbtool info_image --image system.img *
> avbtool: command not found
>
> running the ls command shows avbtool.
>
> --
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/31b3b212-22ce-48ea-a327-89c38842389f%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/31b3b212-22ce-48ea-a327-89c38842389f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CAMbhsRQ0%3D9rfikhTmj8HXp%2BBnAxR-8EB42_Yn08qGuzAimCf5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to