Please use OpenJdk 8 java, and not the official jdk from oracle. From: android-building@googlegroups.com [mailto:android-building@googlegroups.com] On Behalf Of Blasio Ojenge Sent: Tuesday, August 8, 2017 12:51 PM To: Android Building <android-building@googlegroups.com> Subject: [android-building] Re: Issue in Android-N building on Ubuntu 16.04 system
On Thursday, July 27, 2017 at 7:02:28 PM UTC+3, RAVIKIRAN J J wrote: Hi All, I am facing the below issue on building Android N on my Ubuntu 16.04 machine.Please advise. Running kati to generate build-nano_6q-mmm-external_doclava_Android.mk.ninja... out/build-nano_6q-mmm-external_doclava_Android.mk.ninja is missing, regenerating... ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=7.1.1 TARGET_PRODUCT=nano_6q TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=cortex-a9 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-4.4.0-87-generic-x86_64-with-Ubuntu-16.04-xenial HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=1.0.0-ga-rc10 OUT_DIR=out ============================================ Checking build tools versions... ************************************************************ You asked for an OpenJDK based build but your version is java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode). ************************************************************ build/core/main.mk:231<http://main.mk:231>: *** stop. build/core/ninja.mk:163<http://ninja.mk:163>: recipe for target 'out/build-nano_6q-mmm-external_doclava_Android.mk.ninja' failed make: *** [out/build-nano_6q-mmm-external_doclava_Android.mk.ninja] Error 1 Thanks and Regards, Ravikiran J J the error is "build/core/ninja.mk:163<http://ninja.mk:163>: recipe for target 'out/build-nano_6q-mmm- external_doclava_Android.mk.ninja' failed", try and fugure out is that should be a folder or a file to be created.. I suggest you check that first, (I might be wrong though) -- -- 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<mailto:android-building@googlegroups.com> To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com<mailto: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<mailto: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.