I am trying to compile pure aosp source and keep getting these two errors. I am using the lineage vendor files and am using aosp device trees P.S. I'm using a live system but the issue is that there are two undefined methods in the lineage vendor files.
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=aosp_trlte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-7634-generic-x86_64-Pop!_OS-20.04-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QP1A.190711.019
OUT_DIR=out
============================================
[ 43% 49/113] compile out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a
FAILED: out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a
GOROOT='prebuilts/go/linux-x86' prebuilts/go/linux-x86/pkg/tool/linux_amd64/compile -c 8 -o out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a.tmp -p lineage/soong/generator -complete -I out/soong/.bootstrap/blueprint-parser/pkg -I out/soong/.bootstrap/blueprint-deptools/pkg -I out/soong/.bootstrap/blueprint-pathtools/pkg -I out/soong/.bootstrap/blueprint-proptools/pkg -I out/soong/.bootstrap/blueprint/pkg -I out/soong/.bootstrap/soong/pkg -I out/soong/.bootstrap/blueprint-bootstrap-bpdoc/pkg -I out/soong/.bootstrap/blueprint-bootstrap/pkg -I out/soong/.bootstrap/soong-env/pkg -I out/soong/.bootstrap/soong-android/pkg -I out/soong/.bootstrap/soong-shared/pkg -pack vendor/lineage/build/soong/generator/generator.go vendor/lineage/build/soong/generator/variables.go && if cmp --quiet out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a.tmp out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a; then rm out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a.tmp; else mv -f out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a.tmp out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a; fi
vendor/lineage/build/soong/generator/generator.go:124:48: ctx.Config().BuildOSTarget undefined (type android.Config has no field or method BuildOSTarget)
vendor/lineage/build/soong/generator/generator.go:229:38: undefined: android.PathForSourceRelaxed
03:19:35 soong bootstrap failed with: exit status 1
#### failed to build some targets (2 seconds) ####
Related
Hi I try to compile slimrom (MM) but I have this error
[email protected]:~/android/f70n/roms/slimrom$ . build/envsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/lge/vee7/vendorsetup.sh
including vendor/slim/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/android/f70n/roms/slimrom$ lunch slim_vee7-userdebug
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=UNOFFICIAL
PLATFORM_VERSION=6.0
SLIM_VERSION=Slim-6.0.alpha.0.1-UNOFFICIAL-20160402-1948
TARGET_PRODUCT=slim_vee7
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a5
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-34-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MRA59B
OUT_DIR=/home/vangreen/android/f70n/roms/slimrom/out
============================================
[email protected]:~/android/f70n/roms/slimrom$ make -j2 bacon
============================================
PLATFORM_VERSION_CODENAME=UNOFFICIAL
PLATFORM_VERSION=6.0
SLIM_VERSION=Slim-6.0.alpha.0.1-UNOFFICIAL-20160402-1949
TARGET_PRODUCT=slim_vee7
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a5
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-34-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MRA59B
OUT_DIR=/home/vangreen/android/f70n/roms/slimrom/out
============================================
bionic/libc/arch-arm/arm.mk:55: *** "TARGET_CPU_VARIANT not set or set to an unknown value. Possible values are cortex-a7, cortex-a8, cortex-a9, cortex-a15, krait, denver. Use generic for devices that do not have a CPU similar to any of the supported cpu variants.". Stop.
#### make failed to build some targets (01:13 (mm:ss)) ####
[email protected]:~/android/f70n/roms/slimrom$ ^C
[email protected]:~/android/f70n/roms/slimrom$
That's a toughy
Sent from my iPhone using Tapatalk
I fix it. Slim source not suported cortex a5 architecture. I paste folder from omni source and everything works
TT || LG F70
Cd slim/device/lge/f70n/patches && sh apply.sh
I've got this when compiling Slim6 for Huawei Y300
============================================
system/bt/Android.mk:18: extraneous text after 'ifeq' directive
build/core/tasks/kernel.mk:150: **********************************************************
build/core/tasks/kernel.mk:151: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:152: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:153: * BoardConfig.mk file *
build/core/tasks/kernel.mk:154: **********************************************************
Building with Jack: /home/android/android/y300/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-nano_intermediates/classes.jack
Launching background server java -Dfile.encoding=UTF-8 -Xms2560m -XX:+TieredCompilation -jar /home/android/android/y300/out/host/linux-x86/framework/jack-launcher.jar -cp /home/android/android/y300/out/host/linux-x86/framework/jack.jar com.android.jack.server.JackSimpleServer
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:1: The type java.lang.Object cannot be found in source files, imported jack libs or the classpath
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:1: The type java.lang.Class cannot be found in source files, imported jack libs or the classpath
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:33: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:34: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:35: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:36: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:37: The import java.lang cannot be resolved
. . .<3 pages of errors>
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/CodedOutputByteBufferNano.java:360: IllegalArgumentException cannot be resolved to a type
build/core/java.mk:636: recipe for target '/home/android/android/y300/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-nano_intermediates/classes.jack' failed
make: *** [/home/android/android/y300/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-nano_intermediates/classes.jack] Error 41
make: Leaving directory '/home/android/android/y300'
Click to expand...
Click to collapse
i am getting an error but i dont know why its generating....
Started by user Govind Pathak
Building on master in workspace /home/govind/a
[a] $ /bin/bash /tmp/hudson7060322579195071189.sh
Set cache size limit to 50.0 Gbytes
including device/oneplus/cheeseburger/vendorsetup.sh
including vendor/aos/vendorsetup.sh
including sdk/bash_completion/adb.bash
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
Trying dependencies-only mode on anon-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
=====Team DarkNess Presents=======
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-with-debian-9.0
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
Running kati to generate build-aos_cheeseburger.ninja...
Environment variable BUILD_NUMBER was modified (220 => 221), regenerating...
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
=====Team DarkNess Presents=======
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-with-debian-9.0
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
mv: cannot stat '/home/govind/a/out/target/product/cheeseburger/clean_steps.mk.tmp': No such file or directory
Disabling ART_BUILD_TARGET_DEBUG
Disabling ART_BUILD_HOST_DEBUG
build/core/binary.mk:1267: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1267: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1267: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1267: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/govind/a/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
PRODUCT_COPY_FILES device/oneplus/cheeseburger/rootdir/etc/init.qcom.post_boot.sh:system/etc/init.qcom.post_boot.sh ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-brcm.conf'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-brcm.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-nxp.conf'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-nxp.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/lib64/libjni_latinime.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/lib64/libjni_latinime.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/govind/a/out/target/product/cheeseburger/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes', needed by '/home/govind/a/out/target/product/cheeseburger/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
yes i synced device/qcom/common
any help will be appriciated
"Trying dependencies-only mode on anon-existing device tree?"
The above error is the real error if my memory serves .. Sometthing to do with roomservice.xml or what its called in the ROM you are trying to build.. Sorry I'm a bit rusty, haven't build since Lollipop but Check the dependencies.
So, since I couldn't boot the GSI image of Resurrection Remix rom, I tried to build it using the sources of lineage 16 rom from @Raghu varma .
but I have got the following error!
any suggestion to fix it ?
Code:
make -j 16
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=lineage_DRG_sprout
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.0.0-26-generic-x86_64-Ubuntu-19.04
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190801.002
OUT_DIR=/mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out
============================================
[1/1] /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/.miniboo...03a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/cpufeatures.bp
[80/80] /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/.boots...ld /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/build.ninja
FAILED: /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/build.ninja
/mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/.bootstrap/bin/soong_build -t -l /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/.module_paths/Android.bp.list -b /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong -n /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out -d /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/build.ninja.d -o /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/build.ninja Android.bp
error: vendor/rr/build/soong/Android.bp:31:8: module "generated_kernel_includes": cmd: unknown variable '$(KERNEL_MAKE_FLAGS)'
ninja: build stopped: subcommand failed.
15:31:13 soong bootstrap failed with: exit status 1
#### failed to build some targets (01:18 (mm:ss)) ####
How did you resolve this? I am getting the same thing
[1/1] /rom/tb8504/out/soong/.minibootstrap/minibp /rom/tb8504/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/stl.bp
[80/80] /rom/tb8504/out/soong/.bootstrap/bin/soong_build /rom/tb8504/out/soong/build.ninja
FAILED: /rom/tb8504/out/soong/build.ninja
/rom/tb8504/out/soong/.bootstrap/bin/soong_build -t -l /rom/tb8504/out/.module_paths/Android.bp.list -b /rom/tb8504/out/soong -n /rom/tb8504/out -d /rom/tb8504/out/soong/build.ninja.d -o /rom/tb8504/out/soong/build.ninja Android.bp
error: vendor/lineage/build/soong/Android.bp:31:8: module "generated_kernel_includes": cmd: unknown variable '$(KERNEL_MAKE_FLAGS)'
ninja: build stopped: subcommand failed.
18:08:14 soong bootstrap failed with: exit status 1
Hi
I have an issue when building AOSP, it fails to build some targets, as well as ninja fails with exit status 1. I have followed the guide provided by sony and i dont know why it happens. Log below.
Thanks
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=aosp_h3113
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-62-generic-x86_64-Linux-Mint-19.2
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QP1A.190711.019
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/sony/nile
============================================
hardware/qcom/gps/sdm845/etc/Android.mk was modified, regenerating...
[ 25% 113/441] including device/sony/common/Android.mk ...
IDisplayConfig version: DISPLAY_CONFIG_1_8
[ 99% 440/441] finishing build rules ...
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherOutOfProcTests'
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherDebug'
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherTests'
platform_testing/build/tasks/tests/platform_test_list.mk: warning: platform_tests: Unknown installed file for module 'LauncherRotationStressTest'
platform_testing/build/tasks/tests/platform_test_list.mk: warning: platform_tests: Unknown installed file for module 'PlatformScenarioTests'
FAILED: ninja: 'kernel/sony/msm-4.14/common-kernel/kernel-dtb-pioneer', needed by 'out/target/product/pioneer/kernel', missing and no known rule to make it
02:03:49 ninja failed with: exit status 1
#### failed to build some targets (02:22 (mm:ss)) ####
FAILED: ninja: 'kernel/sony/msm-4.14/common-kernel/kernel-dtb-pioneer
no prebuilt kernel in repo!
u need to compile kernel from source 1st or change "/device/sony/nile/platform.mk" to use source code for kernel, not prebuilt.
Now u can do it =) They updated sources & make prebuild kernels
https://github.com/sonyxperiadev/kernel-sony-msm-4.14-common
Hi everyone ,
I have faced problems. Before telling the problems ;
I want to learn how to build LineageOS on Ubuntu 18.04. I create the virtual device which is Ubuntu 18.04 64 Bit, 110GB 4 core 8GB.
And search the source on internet how to build custom rom
Then
I had installed the java jdk 8
I have created the rom file which is lineage , cd lineage
repo init -u git://github.com/LineageOS/android.git -b lineage-17.1
repo sync
git clone https://github.com/sm6150-dev/android_device_xiaomi_davinci/tree/lineage-17.1 -b lineage-17.1 device/xiaomi/davinci
git clone https://github.com/mishamyrt/davinci-pancake-kernel -b ten kernel/xiaomi/davinci
Some sources say you have to export/repo common tree but I did not find this, and you have to replace name, device name in some mk files which are the AndroidProducts.mk
when I see these files and open their, it seems ok I did not change anything.
croot
brunch davinci
and I faced this problem :
[100% 139/139] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
internal error: failed to find dex jar path for module "WfdCommon"
internal error: failed to find dex jar path for module "WfdCommon"
13:52:32 soong bootstrap failed with: exit status 1
#### failed to build some targets (02:42 (mm:ss)) ####
Could you please tell me what can I do, How can I build unoffical LineageOS 17.1, I want to build.
What trees do I use ?
Thanks
I also have the same problem
06:51:32 Build sandboxing disabled due to nsjail error.
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200618-UNOFFICIAL-lmi
TARGET_PRODUCT=lineage_lmi
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a75
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.19.0-9-cloud-amd64-x86_64-Debian-GNU/Linux-10-(buster)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200605.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/xiaomi/lmi device/xiaomi/lmi hardware/qcom-caf/kona
============================================
[100% 2/2] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/bu
ild.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
internal error: failed to find dex jar path for module "WfdCommon"
internal error: failed to find dex jar path for module "WfdCommon"
06:52:34 soong bootstrap failed with: exit status 1
ninja: build stopped: subcommand failed.
#### failed to build some targets (01:01 (mm:ss)) ####
Click to expand...
Click to collapse
I think something wrong with your local manifest.