1 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 = 91
PROP_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 clean
make
2 static_assert failed "Size mismatch."
frameworks/native/cmds/installd/installd_deps.h
// LY mod
// constexpr size_t kPropertyValueMax = 92u;
constexpr size_t kPropertyValueMax = 128u;
3 jack server 出现out of memory error 错误的解决方法
编译Android源码时,jack server 出现out of memory error 错误的解决方法:
问题现象如下:
问题的解决方案如下,共两步:
Step1:修改jack server相关源码
Step2:重启Jack server
./prebuilts/sdk/tools/jack-admin stop-server
用以上命令关闭即可,重新make时它会被再次打开。
完毕
参考:
http://blog.csdn.NET/pcsxk/article/details/52013904
http://www.cnblogs.com/changyuet/p/5951509.html
http://www.cnblogs.com/wanqieddy/archive/2013/01/28/2880175.html