help me to "mka systemimage"
-
ubuntu@ubuntu-virtual-machine:~/halium$ mka systemimage make: 进入目录“/home/ubuntu/halium” ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=7.1.1 LINEAGE_VERSION=14.1-20220219-UNOFFICIAL-cancro TARGET_PRODUCT=lineage_cancro TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=krait 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-5.13.0-28-generic-x86_64-with-glibc2.29 HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=NOF27B OUT_DIR=/home/ubuntu/halium/out ============================================ Running kati to generate build-lineage_cancro.ninja... No need to regenerate ninja file Starting build with ninja ninja: Entering directory `.' ninja: error: 'vendor/xiaomi/cancro/proprietary/app/TimeService/TimeService.apk', needed by '/home/ubuntu/halium/out/target/product/cancro/obj/APPS/TimeService_intermediates/package.apk', missing and no known rule to make it make: *** [build/core/ninja.mk:152:ninja_wrapper] 错误 1 make: 离开目录“/home/ubuntu/halium” -
@errors
If i read your log, it seems an apk (TimeService.apk) is needed to complete some task, and is missing.
If i understand correctly, it's a Xiaomi apk. -
@keneda
yes ,this is xiaomi4. I don't know do it ,help ,help me -
@errors
Sorry i'm not a porter/dev, i'll let someone with those skills help you.
Just wait a little, it's early, activity on forum increase in the evenning. -
@keneda I just copied this file, and now the error information is as follows
Running kati to generate build-lineage_cancro.ninja... No need to regenerate ninja file Starting build with ninja ninja: Entering directory `.' ninja: error: '/home/ubuntu/halium/out/host/linux-x86/framework/signapk.jar', needed by '/home/ubuntu/halium/out/target/product/cancro/obj/APPS/TimeService_intermediates/package.apk', missing and no known rule to make it make: *** [build/core/ninja.mk:152:ninja_wrapper] 错误 1 make: 离开目录“/home/ubuntu/halium” -
-
@keneda I have checked this file “proprietary-files.txt”
-
@errors
Really, i have no skill or knowledge to help you further, i'm sorry
-
@keneda
I don't believe ,you must can help me! -
@keneda
I modified a file,(~/halium/vendor/xiaomi/cancro/Android.mk) and now the error information is as follows[ 32% 5112/15525] Generated: (/home/ub...arget/product/cancro/android-info.txt) FAILED: /bin/bash -c "(build/tools/check_radio_versions.py device/xiaomi/cancro/board-info.txt ) && (grep -v '#' device/xiaomi/cancro/board-info.txt > /home/ubuntu/halium/out/target/product/cancro/android-info.txt )" File "build/tools/check_radio_versions.py", line 56 print "*** Error opening \"%s.sha1\"; can't verify %s" % (fn, key) ^ SyntaxError: invalid syntax [ 32% 5112/15525] host C: libsepol <= ...nal/selinux/libsepol/src/conditional.c ninja: build stopped: subcommand failed. make: *** [build/core/ninja.mk:152:ninja_wrapper] 错误 1 make: 离开目录“/home/ubuntu/halium” -
@keneda
sudo apt-get install python
python -V
Python 2.7.18
now is no problem! -
@errors
Glad you sorted it out, sorry again for my lack of coding knowledge.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login