![构建/编译 Resurrection Remix Nougat 错误](https://linux22.com/image/1573730/%E6%9E%84%E5%BB%BA%2F%E7%BC%96%E8%AF%91%20Resurrection%20Remix%20Nougat%20%E9%94%99%E8%AF%AF.png)
我尝试从源代码构建 Resurrection Remix v5.8.5 Nougat,但出现以下错误:
. build/envsetup.sh && brunch hlte
Starting build with ninja
ninja: Entering directory `.'
ninja: warning: phony target '-*-' names itself as an input; ignoring [-w phonycycle=warn]
ninja: error: '/srv/2d8f112a-ce0d-4bbd-8948-25e9fb3fc9e4/git/RR/out/target/product/hlte/obj/lib/libtime_genoff.so.toc', needed by '/srv/2d8f112a-ce0d-4bbd-8948-25e9fb3fc9e4/git/RR/out/target/product/hlte/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/srv/2d8f112a-ce0d-4bbd-8948-25e9fb3fc9e4/git/RR'
#### make failed to build some targets (01:36 (mm:ss)) ####
No Jack server running. Try 'jack-admin start-server'
知道如何修复它吗?
答案1
我通过添加解决了这个问题:
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" revision="cm-14.1" remote="github" />
到 /srv/2d8f112a-ce0d-4bbd-8948-25e9fb3fc9e4/git/RR/.repo/local_manifests/roomservice.xml
然后执行
repo sync -j10 --force-sync
. build/envsetup.sh && brunch hlte