我正在尝试为我的设备 Mi 9 Lite/CC9 创建一个自定义 rom,并且我正在按照本教程的演练进行操作:
我使用必要的设置创建了本地清单文件并同步了所有文件:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="vendor"
fetch="https://github.com"
revision="lineage-18.1" />
<remote name="device"
fetch="https://github.com"
revision="lineage-18.1" />
<remote name="kernel"
fetch="https://github.com"
revision="10.0-caf"/>
<!-- Vendor folders -->
<project path="vendor/xiaomi" name="SDM710-Development/proprietary_vendor_xiaomi" remote="vendor" />
<!--Device Trees-->
<project path="device/xiaomi/pyxis" name="SDM710-Development/android_device_xiaomi_pyxis" remote="device" />
<!--Kernel-->
<project path="kernel/xiaomi/pyxis" name="SDM710-Development/android_kernel_xiaomi_sdm710" remote="kernel" />
</manifest>
但是,在尝试构建时,出现以下我无法识别的错误:
[100% 2/2] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
Killed
03:36:15 soong bootstrap failed with: exit status 1
ninja: build stopped: subcommand failed.