美文网首页
mk错误:LOCAL_SDK_VERSION (current)

mk错误:LOCAL_SDK_VERSION (current)

作者: duoduo7628 | 来源:发表于2020-06-17 14:38 被阅读0次

主要错误信息: LOCAL_SDK_VERSION (current) and LOCAL_PRIVATE_PLATFORM_APIS (true) but should specify only one "\033[0m" >&2'

错误日志:

^_^**********Ptgen Done********** ^_^
Generated files list:
/opt/data/MT8766/v6x/out/target/product/tb8766p1_64_bsp/obj/PTGEN/../../MT6761_Android_scatter.txt
/opt/data/MT8766/v6x/out/target/product/tb8766p1_64_bsp/obj/PTGEN/partition_size.mk
/bin/bash: -c: 行 0: 未预期的符号/ `(' 附近有语法错误
/bin/bash: -c: 行 0: /`echo -e "\033[1mv6x/apps/aispeech/Android.mk: \033[31merror:\033[0m\033[1m" IntelligentGuideStudy: Specifies both LOCAL_SDK_VERSION 
(current) and LOCAL_PRIVATE_PLATFORM_APIS (true) but should specify only one "\033[0m" >&2'
build/make/core/sdk_check.mk:34: error: done.
16:15:47 ckati failed with: exit status 1

解决:
设置 LOCAL_PRIVATE_PLATFORM_APIS := true (一般直接在 include $(CLEAR_VARS) 之后设置)
设置后,会使用sdk的hide的api來编译(9.0编译需要)

相关文章

网友评论

      本文标题:mk错误:LOCAL_SDK_VERSION (current)

      本文链接:https://www.haomeiwen.com/subject/auhsxktx.html