bigbaicai

芯方式是以半导体人、电子工程师等电子行业相关领域从业人员为核心的知识经验学习、分享、交流社群。 凭借开放、合作、共赢的运营理念,聚集了来自国内外知名院校和顶尖科技公司的半导体人、电子工程师。 我们致力于营造专业、认真、有温度的分享交流环境,将高质量的内容和方案成规模地生产和分享,帮助个人和团队在芯方式找到有价值的Key。 http://www.icfans.com/

更新GMS包时编译报错"already defined by "

0
阅读(315) 评论(0)

[DESCRIPTION]

更新升级GMS版本时,编译报错”……already defined by…… “的解决办法

[SOLUTION]

GMS4.2版本更新时,可能会有一些lib库和系统原来的lib文件命名一致,导致冲突
参考如下办法解决:
NOTE: Please rename the below libraries to avoid build conflicts with GMS
libraries:
Frameworks/support/renderscript/v8/rs_support/android.mk: libRSSupport ->
libRSSupport_old (2 places)
frameworks/support/renderscript/v8/jni/Android.mk: librsjni ->
librsjni_old and libRSSupport -> libRSSupport_old (2 places)
and if you include GMS GalleryGoogle.apk (otherwise do not rename the
below libraries):
packages/apps/Camera/jni/Android.mk: libjni_mosaic -> libjni_mosaic_old
packages/apps/Gallery2/jni/Android.mk: libjni_filtershow_filters ->
libjni_filtershow_filters_old
packages/apps/Gallery2/jni/Android.mk: libjni_eglfence ->
libjni_eglfence_old