问题描述
修改android源码后,进行make 报错。
报错信息
error: VNDK library: libbinder's ABI has EXTENDING CHANGES Please check compatiblity report at : out/soong/.intermediates/frameworks/native/libs/binder/libbinder/android_x86_vendor_shared/libbinder.so.abidiff
******************************************************
---- Please update abi references by running platform/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l libbinder ----
解决方案
修改如下文件:
build/make/target/board/x86/BoardConfig.mk
其中x86 根据选择的平台而不同。
BOARD_VNDK_VERSION :=
BOARD_VNDK_RUNTIME_DISABLE := true
ps. 好像只对8.1有效.