Make sure there is no error upon repo sync. This is kind of common error due to some fetch error during sync. And also, delete entire out folder and try rebuilding again.
On Tue, May 15, 2018 at 8:09 PM, 'Jean-Marc GRIMAUD' via Android Building < android-building@googlegroups.com> wrote: > Hello, > I try to build from source AOSP image for Pixel phone (sailfish) but the > build fails. > > Here what I did: > 1 - download AOSP branch android-p-preview-2 > 2 - extract binaries from https://developers.google.com/android/blobs- > preview (google_devices-sailfish-4765711-7e716b19.tgz and > qcom-sailfish-4765711-a8c5bf86.tgz) > 3 - source build/envsetup.sh > 4 - lunch aosp_sailifish-userdebug > 5 - make -j24 > > And the build issue: > ninja: error: 'out/host/common/obj/JAVA_LIBRARIES/javapoet-prebuilt- > jar_intermediates/classes.jar', needed by 'out/target/common/obj/APPS/ > Dialer_intermediates/classes-full-debug.jar', missing and no known rule > to make it > 16:31:57 ninja failed with: exit status 1 > > Does anybody knows how to solve this issue ? > > thanks > > > -- > -- > 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.