android编译报错:error: ro.build.fingerprint cannot exceed 91 bytes

来源:互联网 发布:java array 截取字数组 编辑:程序博客网 时间:2024/06/10 21:52

http://stackoverflow.com/questions/28776970/android-build-error-ro-build-fingerprint-cannot-exceed-91-bytes


Edit build/tools/post_process_props.py. Change lines as follows:

PROP_NAME_MAX = 31# PROP_VALUE_MAX = 91PROP_VALUE_MAX = 128

Edit bionic/libc/include/sys/system_properties.h. Change lines as follows:

#define PROP_NAME_MAX   32// #define PROP_VALUE_MAX  92#define PROP_VALUE_MAX  128

Do

make cleanmake

You can also run the second make command in parallel using syntax such as

make -j8

0 0
原创粉丝点击