简体   繁体   English

平板电脑的Android Oreo编译问题

[英]Problems with compiling Android Oreo for tablet

Hi could someone tell me what this error is related to? 嗨,有人可以告诉我此错误与什么有关吗? I don't know whats causing it. 我不知道是什么原因造成的。

Error - cannot assign to readonly variable: SOONG_CLANG_CONFIG_arm_TARGET_TRIPLE 错误-无法分配给只读变量:SOONG_CLANG_CONFIG_arm_TARGET_TRIPLE

The build log: 构建日志:

============================================
[44/44] bootstrap /home/rh/lineage/out/soong/.minibootstrap/build.ninja.in
[4/4] /home/rh/lineage/out/soong/.boot...neage/out/soong/.bootstrap/build.ninja
[871/872] glob vendor/qcom/opensource/...erfaces/wifi/supplicant/1.0/Android.bp
[56/56] /home/rh/lineage/out/soong/.bo.../home/rh/lineage/out/soong/build.ninja
/home/rh/lineage/out/build-lineage_YT3850M.ninja is missing, regenerating...
/home/rh/lineage/out/soong/make_vars-lineage_YT3850M.mk:511: error: cannot assign to readonly variable: SOONG_CLANG_CONFIG_arm_TARGET_TRIPLE
14:09:27 ckati failed with: exit status 1

#### failed to build some targets (55 seconds) ####

rh@inspiron:~/lineage$

在回答我自己的问题时,我通过从BoardConfig.mk中删除所有TARGET_2ND_ARCH变量来解决了该问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM