The code that prints that out is in ninja
<https://android.googlesource.com/platform/external/ninja/+/master/>, but
it really won't help to debug it from there -- it has printed everything it
knows.

ninja: error:
> '/home/vamsi/ctos/out/target/common/obj/JAVA_LIBRARIES/sap-api-java-static_intermediates/classes-header.jar',
> needed by
> '/home/vamsi/ctos/out/target/common/obj/APPS/Bluetooth_intermediates/classes-full-debug.jar',
> missing and no known rule to make it
>

This error message would be far better using Android.bp (the Bluetooth app
here was migrated in Android 11). It's very hard to get the makefiles to
produce a better error, so you have to work backwards from the files being
referenced. In this case the Bluetooth(*_intermediates) app(APPS) is
depending on something from the sap-api-java-static library, but that
doesn't exist. Usually that means that the sap-api-java-static library is
missing or not configured correctly.

- Dan

On Fri, Mar 3, 2023 at 2:08 PM Mutyala N V Durga Ashok <[email protected]>
wrote:

> Hi Dan / Krishna,
>
> ninja: error:
> '/home/vamsi/ctos/out/target/common/obj/JAVA_LIBRARIES/sap-api-java-static_intermediates/classes-header.jar',
> needed by
> '/home/vamsi/ctos/out/target/common/obj/APPS/Bluetooth_intermediates/classes-full-debug.jar',
> missing and no known rule to make it
>
> We are trying to search this log under build directory in AOSP and
> couldn't able to find it. Tried with "missing" , "no known rule ", "needed
> by" but nothing works
>
> Could you help me to point to the code where you are printing this log  ?
>
> On Tuesday, 19 February, 2019 at 11:03:42 pm UTC+5:30 krishna venkatesh
> wrote:
>
>> Looks to be your newly added code not conform to sepolicies never allow
>> rues.
>> So please apply proper sepolicies rules.
>> If fissible, please share your code.
>
> --
> --
> 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/a26c9c0c-4cb6-4469-8005-75a4dc2d1f51n%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/a26c9c0c-4cb6-4469-8005-75a4dc2d1f51n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
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/CALQgHdnobrpRN_sVK7sqoNFvK2Q0ems0gqMUxz%3DuZDqJ%3DqDNFg%40mail.gmail.com.

Reply via email to