当前位置: 首页 > news >正文

在线制作表情包生成器软件广州seo网站推广公司

在线制作表情包生成器软件,广州seo网站推广公司,龙岩食品有限公司,网站开发软件开发流程图简介: CSDN博客专家,专注Android/Linux系统,分享多mic语音方案、音视频、编解码等技术,与大家一起成长! 优质专栏:Audio工程师进阶系列【原创干货持续更新中……】🚀 人生格言: 人生…

简介: CSDN博客专家,专注Android/Linux系统,分享多mic语音方案、音视频、编解码等技术,与大家一起成长!

优质专栏:Audio工程师进阶系列原创干货持续更新中……】🚀

人生格言: 人生从来没有捷径,只有行动才是治疗恐惧和懒惰的唯一良药.

更多原创,欢迎关注:Android系统攻城狮

欢迎关注Android系统攻城狮

1.前言

本篇目的:解决Android12编译报错:error: BUILD_COPY_HEADERS is obsolete。

2.报错:

error: BUILD_COPY_HEADERS is obsolete. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers.
21:33:52 ckati failed with: exit status 1

3.BUILD_COPY_HEADERS/LOCAL_COPY_HEADERS描述

  • build/make/Changes.md
## COPY_HEADERS usage now produces warnings {#copy_headers}We've considered `BUILD_COPY_HEADERS`/`LOCAL_COPY_HEADERS` to be deprecated for
a long time, and the places where it's been able to be used have shrinked over
the last several releases. Equivalent functionality is not available in Soong.See the [build/soong/docs/best_practices.md#headers] for more information about
how best to handle headers in Android.

4.BUILD_COPY_HEADERS/LOCAL_COPY_HEADERS具体替代方案描述

  • build/soong/docs/best_practices.md
## Headers`LOCAL_COPY_HEADERS` is deprecated. Soong modules cannot use these headers, and
when the VNDK is enabled, System modules in Make cannot declare or use them
either.The set of global include paths provided by the build system is also being
removed. They've been switched from using `-isystem` to `-I` already, and are
removed entirely in some environments (vendor code when the VNDK is enabled).Instead, use `LOCAL_EXPORT_C_INCLUDE_DIRS`/`export_include_dirs`. These allow
access to the headers automatically if you link to the associated code.If your library uses `LOCAL_EXPORT_C_INCLUDE_DIRS`/`export_include_dirs`, and
the exported headers reference a library that you link to, use
`LOCAL_EXPORT_SHARED_LIBRARY_HEADERS`/`LOCAL_EXPORT_STATIC_LIBRARY_HEADERS`/`LOCAL_EXPORT_HEADER_LIBRARY_HEADERS`
(`export_shared_lib_headers`/`export_static_lib_headers`/`export_header_lib_headers`)
to re-export the necessary headers to your users.Don't use non-local paths in your `LOCAL_EXPORT_C_INCLUDE_DIRS`, use one of the
`LOCAL_EXPORT_*_HEADERS` instead. Non-local exported include dirs are not
supported in Soong. You may need to either move your module definition up a
directory (for example, if you have ./src/ and ./include/, you probably want to
define the module in ./Android.bp, not ./src/Android.bp), define a header
library and re-export it, or move the headers into a more appropriate location.Prefer to use header libraries (`BUILD_HEADER_LIBRARY`/ `cc_library_headers`)
only if the headers are actually standalone, and do not have associated code.
Sometimes there are headers that have header-only sections, but also define
interfaces to a library. Prefer to split those header-only sections out to a
separate header-only library containing only the header-only sections, and
re-export that header library from the existing library. This will prevent
accidentally linking more code than you need (slower at build and/or runtime),
or accidentally not linking to a library that's actually necessary.Prefer `LOCAL_EXPORT_C_INCLUDE_DIRS` over `LOCAL_C_INCLUDES` as well.
Eventually we'd like to remove `LOCAL_C_INCLUDES`, though significant cleanup
will be required first. This will be necessary to detect cases where modules
are using headers that shouldn't be available to them -- usually due to the
lack of ABI/API guarantees, but for various other reasons as well: layering
violations, planned deprecations, potential optimizations like C++ modules,
etc.

5.如何解决

include $(BUILD_COPY_HEADERS)

修改为:

include $(BUILD_BROKEN_USES_BUILD_COPY_HEADERS)

http://www.tj-hxxt.cn/news/89452.html

相关文章:

  • 深圳营销型网站建设公司哪家好什么是sem和seo
  • 广州微信网站建设哪家好网页开发教程
  • 如何做自己个人网站企业查询官网
  • 用html制作旅游网站正规seo排名公司
  • app开发费用明细邵阳seo排名
  • 做网站的需求分析网站流量查询服务平台
  • dede旅游网站网络营销推广策划的步骤是什么
  • php与mysql网站开发360安全网址
  • 广州网站建设与网页设计国内免费发布产品的平台
  • php wordpress 关系自己的网站怎么样推广优化
  • 一个服务器做两个网站优化工作流程
  • 网络设计专业究竟好不好就业网络优化工具
  • 铜陵专业网站制作公司seo网站推广免费
  • 旅游局网站的建设情况抚州seo外包
  • 做网站常用的英文字体百度官网下载电脑版
  • 咸阳做网站优化seo优化一般多少钱
  • axure怎么做响应式网站极速建站网站模板
  • 网站结构建设方案晋城今日头条新闻
  • 重庆所有做网站的公司百度seo优化服务项目
  • WordPress代码改silder沈阳百度seo关键词优化排名
  • 写作网站都有哪些建站系统哪个比较好
  • 关键词优化排名易下拉效率seo怎么优化关键词排名培训
  • 花都网站建设公司网页制作代码大全
  • 如何在个人网上建网站搜索引擎网站推广如何优化
  • 成人用品批发网站一件代发五八精准恶意点击软件
  • 周口网站建设网络工作室核心关键词举例
  • 免费宝塔虚拟主机长沙百度快速优化
  • 基于h5的个人网站建设网络营销服务工具
  • 加强纪检监察网站建设网站源码下载
  • 做网站公司促销海报大数据精准营销