Hi, I am getting this error
============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=8.0.0 TARGET_PRODUCT=aosp_arm TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a TARGET_CPU_VARIANT=generic HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.15.0-34-generic-x86_64-with-Ubuntu-18.04-bionic HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=OPD1.170816.025 OUT_DIR=out ============================================ [2/2] bootstrap out/soong/.minibootstrap/build.ninja.in [2/2] bootstrap out/soong/.minibootstrap/build.ninja.in ninja: no work to do. ninja: no work to do. 10:45:54 ******************************************************* 10:45:54 You are attempting to build with an unsupported JDK. 10:45:54 10:45:54 Only an OpenJDK based JDK is supported. 10:45:54 10:45:54 Please follow the machine setup instructions at: 10:45:54 https://source.android.com/source/initializing.html 10:45:54 ******************************************************* 10:45:54 stop build/core/main.mk:21: recipe for target 'run_soong_ui' failed make: *** [run_soong_ui] Error 1 On Thu, Sep 20, 2018 at 7:37 PM ashok reddy reddy < [email protected]> wrote: > Is this solved?.. I am also getting this error when i am building for > 8953_64 8.1.0 code. > > > > On Tuesday, 5 September 2017 21:11:02 UTC+5:30, aadi wrote: >> >> ninja: no work to do. >> >> [1/9] test android/soong/android >> >> FAILED: out/soong/.bootstrap/soong-android/test/test.passed >> >> out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/android -f >> out/soong/.bootstrap/soong-android/test/test.passed -- >> out/soong/.bootstrap/soong-android/test/test -test.short >> >> --- FAIL: TestPrebuilts (0.00s) >> >> prebuilt_test.go:117: stat /tmp: no such file or directory >> >> FAIL >> >> [2/9] link out/soong/.bootstrap/soong_build/obj/a.out >> >> ninja: build stopped: subcommand failed. >> >> 13:27:31 soong bootstrap failed with: exit status 1 >> >> >> #### failed to build some targets (1 seconds) #### >> >> >> -- > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- Regards, Bhavdip Bhalodia https://www.skycore.com [email protected] || +919033419936 <https://mail.google.com/> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. *--naa tvaya vina--* -- -- 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]. For more options, visit https://groups.google.com/d/optout.
