[Q] Errors Building CyanogenMod 10.2 - Android Q&A, Help & Troubleshooting

Here is the Error i get. cant seem to figure out where (copy) is coming from.
make: *** No rule to make target `packages/apps/Settings/res/(copy)/strings.xml', needed by `/home/kevin/android/system/out/target/product/i605/obj/APPS/Settings_intermediates/package.apk'. Stop.
should be packages/apps/Settings/res/values/strings.xml
i even did a repo sync packages/apps/Settings and same Error.
can anyone enlighten me on the error? thanks.

Related

Problems building CM nor HTC IncS

Good day, guys.
I've got problems with building CM for HTC IncS (Vivo)
Got following message, after that make is stops:
Code:
make: *** No rule to make target `/home/in7rude/android/system/out/target/product/vivo/obj/KERNEL_OBJ/usr', needed by `/home/in7rude/android/system/out/target/product/vivo/obj/SHARED_LIBRARIES/audio.primary.msm7x30_intermediates/AudioHardware.o'. Stop.
I think, that i've missing some files, please help
in7rude said:
Good day, guys.
I've got problems with building CM for HTC IncS (Vivo)
Got following message, after that make is stops:
Code:
make: *** No rule to make target `/home/in7rude/android/system/out/target/product/vivo/obj/KERNEL_OBJ/usr', needed by `/home/in7rude/android/system/out/target/product/vivo/obj/SHARED_LIBRARIES/audio.primary.msm7x30_intermediates/AudioHardware.o'. Stop.
I think, that i've missing some files, please help
Click to expand...
Click to collapse
Hi I have similar problem
Code:
Export includes file: external/mksh/Android.mk -- /home/u910a7/android/system/out/target/product/deb/obj/EXECUTABLES/mksh_intermediates/export_includes
Notice file: external/mksh/NOTICE -- /home/u910a7/android/system/out/target/product/deb/obj/NOTICE_FILES/src//system/bin/mksh.txt
make: *** No rule to make target `/home/u910a7/android/system/out/target/product/deb/obj/KERNEL_OBJ/usr', needed by `/home/u910a7/android/system/out/target/product/deb/obj/EXECUTABLES/mm-vdec-omx-test_intermediates/test/omx_vdec_test.o'. Stop.
make: *** Waiting for unfinished jobs....

[Q] Make -j4 otatools - Invalid LOCAL-SDK-VERSION

build/core/java.mk:23: *** cts/test/acceleration: Invalid LOCAL-SDK-VERSION 'current' Choices are: . Stop.
I get that error when I type make -j4 otatools within my Repo sync folder. Any idea on what the problem is? please help guys!
Blancos4Lyf said:
build/core/java.mk:23: *** cts/test/acceleration: Invalid LOCAL-SDK-VERSION 'current' Choices are: . Stop.
I get that error when I type make -j4 otatools within my Repo sync folder. Any idea on what the problem is? please help guys!
Click to expand...
Click to collapse
No one knows how to fix this? Or am I just being impatient ?
Bump
I have the same problem, please do reply.
I have exactly the same issue while trying to build, and I still haven't found a solution...

Error on building my ROM

Hi all,
I own an Japanese version of S3 (SC-06D) and I try to build my CM12.1 rom, but I had a problem at the very beginning, see the log below:
make: *** No rule to make target `/home/erio/android/aojp/out/target/product/d2dcm/obj/STATIC_LIBRARIES/libminui_intermediates/export_includes', needed by `/home/erio/android/aojp/out/target/product/d2dcm/obj/EXECUTABLES/healthd_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Install: /home/erio/android/aojp/out/target/product/d2dcm/root/sbin/felica_init.sh
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 26) to /home/erio/android/aojp/out/target/product/d2dcm/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit
GEN /home/erio/android/aojp/out/target/product/d2dcm/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
make[1]: Entering directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
CHK include/linux/version.h
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
#### make failed to build some targets (04:37 (mm:ss)) ####
I couldn't found "/libminui_intermediates/export_includes" and "healthd_intermediates/import_includes" and it halt there. I done repo sync perfectly and no ideas on why there is such a problem. Please help.
erioho said:
Hi all,
I own an Japanese version of S3 (SC-06D) and I try to build my CM12.1 rom, but I had a problem at the very beginning, see the log below:
make: *** No rule to make target `/home/erio/android/aojp/out/target/product/d2dcm/obj/STATIC_LIBRARIES/libminui_intermediates/export_includes', needed by `/home/erio/android/aojp/out/target/product/d2dcm/obj/EXECUTABLES/healthd_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Install: /home/erio/android/aojp/out/target/product/d2dcm/root/sbin/felica_init.sh
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 26) to /home/erio/android/aojp/out/target/product/d2dcm/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit
GEN /home/erio/android/aojp/out/target/product/d2dcm/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
make[1]: Entering directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
CHK include/linux/version.h
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
#### make failed to build some targets (04:37 (mm:ss)) ####
I couldn't found "/libminui_intermediates/export_includes" and "healthd_intermediates/import_includes" and it halt there. I done repo sync perfectly and no ideas on why there is such a problem. Please help.
Click to expand...
Click to collapse
Your issue is that the device is not supported by cm. So you will have to do all the legwork of getting the device trees and all the proper files. You can't use the same files for other s3 on your device.
zelendel said:
Your issue is that the device is not supported by cm. So you will have to do all the legwork of getting the device trees and all the proper files. You can't use the same files for other s3 on your device.
Click to expand...
Click to collapse
Thanks.
Once I successfully build CM12.1 on 9 July, but afterward, never success and prompt that error.
I reviewed a page on how to build for SC06D: http://lawnfield.blog.fc2.com/blog-entry-61.html
I had done all the things listed there, but finally got that error.
So, what exactly that error means and what should I do to resolve?
It seems (maybe) I solved the problem, now building but not yet complete.
From the source it use CWM as default recovery but now the code is using TWRP, so it halted. And I change it to TWRP and now running. For sure I have not much ideas on why such change in code, may be the KBC-developer intended to do, but not fully.
Another question is, If I would like to build the rom, but not all apks in /system/app, what should I do? As I would like to slim down the rom as some of the files are unnecessary to me, e.g. bootnanimation.zip and the default browser.

Cm 13 compile error

So ive been trying to build Cm 13 for samsung vibrant or vibrantmtd but while compliation i get this error regarding build prop
Target buildinfo: /home/mgomes/android1/cm13.0/out/target/product/vibrantmtd/obj/ETC/system_build_prop_intermediates/build.prop
/bin/bash: SGH-T959: command not found
make: *** [/home/mgomes/android1/cm13.0/out/target/product/vibrantmtd/obj/ETC/system_build_prop_intermediates/build.prop] Error 127
make: *** Deleting file `/home/mgomes/android1/cm13.0/out/target/product/vibrantmtd/obj/ETC/system_build_prop_intermediates/build.prop'
make: Leaving directory `/home/mgomes/android1/cm13.0'
Full log http://pastebin.com/tDeNLa82
If someone could guide me in the right direction on which files are causing errors that would be helpful

trouble building cm13

I've hit a bit of a brick wall while trying to do my first CyanogenMod build (cm13 on trltespr). Not sure if this should be put on the device board itself but I figured I'd try here first. I've extracted proprietary files from the device, followed the guide on the CM wiki, and while trying to build I'm getting the following error from make:
make: *** No rule to make target '/home/cmbuild/android/system/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/javalib.jar', needed by '/home/cmbuild/android/system/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-full-debug.jar'. Stop.
From what I've gathered I absolutely do not want to skip building either of these libraries, so I'm kind of at an impasse here. Does anyone have any thoughts on what my options may be here?
Actually, i'm starting to get a different error now, quite similar though:
make: *** No rule to make target '/home/cmbuild/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp', needed by '/home/cmbuild/android/system/out/target/common/obj/APPS/BasicDreams_intermediates/src/R.stamp'. Stop.
^regarding above error message, first one comes from simply running 'make', second one comes from running brunch trltespr
Make Clobber your folder
Do a repo sync..
How about try to use mka..

Categories

Resources