mm compiles all modules in a directory, you are missing a dependency of one
of the modules. This is pretty common because regular builds do not compile
tests or their dependencies. You can run 'hmm' to see commands that do take
dependencies into account. In this case, you want 'mma':

λ hmm | grep " mm"
- mm:        Builds all of the modules in the current directory, but not
their dependencies.
- mmm:       Builds all of the modules in the supplied directories, but not
their dependencies.
             To limit the modules being built use the syntax: mmm
dir/:target1,target2.
*- mma:       Builds all of the modules in the current directory, and their
dependencies.*
- mmma:      Builds all of the modules in the supplied directories, and
their dependencies.

Diogo

On Mon, Mar 12, 2018 at 9:39 AM, <rashmi1234...@gmail.com> wrote:

> On Android version 8.1.0 project specific build with mm cmd is failing in
> /framework/base
>
> [100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
> ninja: error: 'out/host/linux-x86/framework/host-libprotobuf-java-full.jar',
> needed by 'out/host/common/obj/JAVA_LIBRARIES/platformprotos_
> intermediates/classes-full-debug.jar', missing and no known rule to make
> it
> 12:55:19 ninja failed with: exit status 1
>
> Please help me to resolve this.
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> 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 android-building+unsubscr...@googlegroups.com.
> 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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to