android - 如何解决此错误 Lineage 14.1 buld for morotola moto c
问题描述
我尝试使用本教程从源代码构建 LOS14.1 ,但遇到了问题。构建开始时,出现以下错误:
device/motorola/namath/wpa_supplicant_8_lib/Android.mk:22: build BASIC wpa_supplicant
find: '/home/serveruser/hdd1/archive/motoc_lineage_14.1/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates': No such file or directory
build/core/base_rules.mk:183: *** vendor/motorola/namath: MODULE.TARGET.STATIC_LIBRARIES.libstagefright_color_conversion already defined by frameworks/av/media/libstagefright/colorconversion.
build/core/ninja.mk:166: recipe for target '/home/serveruser/hdd1/archive/motoc_lineage_14.1/out/build-lineage_namath.ninja' failed
make: *** [/home/serveruser/hdd1/archive/motoc_lineage_14.1/out/build-lineage_namath.ninja] Error 1
我已经尝试过类似的东西export LC_ALL=C
,但它没有帮助......
解决方案
我使用了错误的设备分支(GitHub)。=)
推荐阅读
- javascript - 我想从初始数组中获取数组随机元素
- java - 与 long 相乘时,数字的输出如何变化?
- tensorflow - 如何在 Keras 中使用 fft 创建自定义损失函数
- python - 如何匹配 Python Regex 中的特定字符串?
- windows - clang 如何在 Windows 上工作?
- php - 如何使用 Laravel Eloquent 和 Laravel Query Builder 进行联合查询?
- python - 3次正面后抛硬币击杀程序
- reactjs - 如何使用 graphql 查询的结果作为 React 功能组件中的返回值?
- webpack - Webpacker:编译冻结在circleci上的“编译...”
- qt - Qt 创建者和不需要的文件名自动前缀