【问题标题】:How can I fix this error, building OmniRom?如何修复此错误,构建 OmniRom?
【发布时间】:2019-07-23 13:59:50
【问题描述】:

目前,我正在为 android 设备铍构建 OmniRom。首先,我下载了源码。然后我从https://github.com/TheMuppets/proprietary_vendor_xiaomi克隆了小米厂商。之后我执行了以铍为参数的“早餐”命令。完成后,我就输入了“make -j4”

我收到此失败消息:

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=omni_beryllium
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo300
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a75
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-8-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=PQ2A.190205.001
OUT_DIR=/home/benjamin/OMNI/out
============================================
ninja: no work to do.
ninja: no work to do.
wildcard(/home/benjamin/OMNI/out/target/product/beryllium/clean_steps.mk) was changed, regenerating...
wildcard(vendor/xiaomi/whyred/Android.mk) was changed, regenerating...
[24/971] including development/build/Android.mk ...
development/build/build_android_stubs.mk:43: warning: android_stubs_current 
development/build/build_android_stubs.mk:43: warning: metalava_android_stubs_current metalava_android_stubs_current
development/build/build_android_stubs.mk:43: warning: android_system_stubs_current 
development/build/build_android_stubs.mk:43: warning: android_test_stubs_current 
development/build/build_android_stubs.mk:43: warning: metalava_android_system_stubs_current metalava_android_system_stubs_current
development/build/build_android_stubs.mk:43: warning: metalava_android_test_stubs_current metalava_android_test_stubs_current
[539/971] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[971/971] including vendor/xiaomi/tissot/Android.mk ...
build/make/core/base_rules.mk:412: warning: overriding commands for target `/home/benjamin/OMNI/out/target/product/beryllium/root/res/images/charger/battery_fail.png'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/benjamin/OMNI/out/target/product/beryllium/root/res/images/charger/battery_fail.png'
build/make/core/base_rules.mk:412: warning: overriding commands for target `/home/benjamin/OMNI/out/target/product/beryllium/root/res/images/charger/battery_scale.png'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/benjamin/OMNI/out/target/product/beryllium/root/res/images/charger/battery_scale.png'
build/make/core/Makefile:28: warning: overriding commands for target `/home/benjamin/OMNI/out/target/product/beryllium/system/etc/mkshrc'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/benjamin/OMNI/out/target/product/beryllium/system/etc/mkshrc'
ninja: error: '/home/benjamin/OMNI/out/target/common/obj/JAVA_LIBRARIES/WfdCommon_intermediates/classes.jar', needed by '/home/benjamin/OMNI/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp', missing and no known rule to make it
14:54:42 ninja failed with: exit status 1

#### failed to build some targets (02:22 (mm:ss)) ####

谁能帮帮我,怎么解决?

【问题讨论】:

    标签: android compilation building custom-rom


    【解决方案1】:

    您很可能缺少树中的 Wfd 常用 jar。尝试选择这个commit 并添加相关的 Wfd 常用库,看看它是否有效

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-02-09
      • 1970-01-01
      • 2020-04-26
      • 1970-01-01
      • 1970-01-01
      • 2016-01-30
      • 2021-07-22
      • 2016-04-19
      相关资源
      最近更新 更多