(Need Help) Error In Compiling Rom - Android Q&A, Help & Troubleshooting

ERROR: /home/johnmike/lineage/external/owasp/sanitizer/src/main/org/owasp/html/HtmlTokenType.java:0: The type java.util.Map$Entry cannot be found in source files, imported jack libs or the classpath
build/core/java.mk:636: recipe for target '/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack' failed
make: *** [/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack] Error 41
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/johnmike/lineage'
#### make failed to build some targets (06:39 (mm:ss)) ####
[email protected]:~/lineage$

Kaneki30 said:
ERROR: /home/johnmike/lineage/external/owasp/sanitizer/src/main/org/owasp/html/HtmlTokenType.java:0: The type java.util.Map$Entry cannot be found in source files, imported jack libs or the classpath
build/core/java.mk:636: recipe for target '/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack' failed
make: *** [/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack] Error 41
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/johnmike/lineage'
#### make failed to build some targets (06:39 (mm:ss)) ####
[email protected]:~/lineage$
Click to expand...
Click to collapse
I have the same problem. Could you fix it?

Related

[Q] Error while compiling CM12.1

Code:
Import includes file: /home/builder/cm12.1/out/target/product/ks01lte/obj/EXECUTABLES/rfc_intermediates/import_includes
make: *** No rule to make target “/home/builder/cm12.1/out/target/product/ks01lte/obj/EXECUTABLES/rild_intermediates/import_includes” Needed by “/home/builder/cm12.1/out/target/product/ks01lte/obj/SHARED_LIBRARIES/libril_intermediates/export_includes”. Stop.
make: *** Waiting for unfinished jobs
Export includes file: external/bluetooth/bluedroid/test/rfcommtest/Android.mk -- /home/builder/cm/out/target/product/ks01lte/obj/EXECUTABLES/rfc_intermediates/export_includes
#### make failed to build some targets (02:48 (mm:ss)) ####
I always encountered this 2min after brunch. I have re-sync for many times, but it won't help.
Any way to solve this ? Thanks!

'libaudiopolicymanager" error CAF build

Hello all,
Iḿ trying to build Temasek CAF but im stuck at this error:
Code:
make: *** No rule to make target '/home/fsadino/android/temasek-caf/out/target/product/bacon/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/fsadino/android/temasek-caf/out/target/product/bacon/obj/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes'. Pare.
make: ** Esperando que outros processos terminem.
Import includes file: /home/fsadino/android/temasek-caf/out/target/product/bacon/obj/STATIC_LIBRARIES/libcpustats_intermediates/import_includes
make: Leaving directory '/home/fsadino/android/temasek-caf'
#### make failed to build some targets (03:46 (mm:ss)) ####
When i mka libaudiopolicymanager it fails:
Code:
make: *** No rule to make target 'libaudiopolicymanager'. Pare.
Thanks in advance
Got the solution?
ankurpandeyvns said:
Got the solution?
Click to expand...
Click to collapse
what you expect?

make: *** No rule to make target 'device/infinix/d5110_infinix/audio/audio.cpp CM12.1

Hi! I ported the Infinix Hot 2 device tree and vendor files to my BLU Energy X 2, but I kept the name the same. That is why it says infinix_d5110. So, I ran make -j8 otatools and it is telling me
Code:
make: *** No rule to make target 'device/infinix/d5110_infinix/audio/audio.cpp', needed by '/home/nate/cm12.1/out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.mt6580_intermediates/audio.o'. Stop.
Without modifications to the device tree and vendor, straight from the Infinix Hot 2, this error is not present. In the audio folder, there is only Android.mk, and no file called audio.cpp. It says it is needed by audio.o but when I look in the out directory, that file does not exist.
Terminal:
Code:
make: *** No rule to make target 'device/infinix/d5110_infinix/audio/audio.cpp', needed by '/home/nate/cm12.1/out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.mt6580_intermediates/audio.o'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: hardware/libhardware/modules/audio/Android.mk -- /home/nate/cm12.1/out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/export_includes
#### make failed to build some targets (04:50 (mm:ss)) ####
Please help! Thanks

I got an error while compiling a kernel

hi...
i am trying to build my own custom kernel for mido
Im beginner
first i used kud kernel source and now im using lineage os stock kernel source
i got same error while compiling both of the kernel
pls help for this
In file included from drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c:24:0:
include/trace/events/msm_cam.h:19:21: fatal error: msm_isp.h: No such file or directory
#include "msm_isp.h"
^
compilation terminated.
scripts/Makefile.build:257: recipe for target 'drivers/media/platform/msm/camera_v2/isp/msm_isp_util.o' failed
make[6]: *** [drivers/media/platform/msm/camera_v2/isp/msm_isp_util.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CC net/ipv6/addrconf_core.o
scripts/Makefile.build:402: recipe for target 'drivers/media/platform/msm/camera_v2/isp' failed
make[5]: *** [drivers/media/platform/msm/camera_v2/isp] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/media/platform/msm/camera_v2' failed
make[4]: *** [drivers/media/platform/msm/camera_v2] Error 2
make[4]: *** Waiting for unfinished jobs....
https://github.com/ArbitraryFox/ker...adf80bf#diff-ddf45fe604bb6728785f6a0ff5f293e5
Thanks sir

build lineage i9100

Can someone there help me I try to compile rom i9100 more of this error
find: '/home/viperx/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates': No such file or directory
build/core/base_rules.mk:183: *** vendor/samsung/galaxys2-common/proprietary: MODULE.TARGET.SHARED_LIBRARIES.libUMP already defined by hardware/samsung/exynos4/hal/libUMP.
make: *** [build/core/ninja.mk:167: /home/viperx/android/lineage/out/build-lineage_i9100.ninja] Error 1
make: Leaving directory '/home/viperx/android/lineage'
#### make failed to build some targets (01:53 (mm:ss)) ####

Categories

Resources