转自:http://blog.csdn.net/syhost/article/details/14448899

 

完整的报错为:


system/core/include/cutils/properties.h:64:39: error: call to '__property_get_too_small_error' declared with attribute error: property_get() called with too small of a bufferIn function 'property_get',



解决方法:

找到调用property_get的地方 将中间一个数组参数的定义改一下:

比如:

之前为:

value[128];

.

.

property_get("persist.xxx.xxxx",value,"0");



改为:

value[PROPERTY_VALUE_MAX];

.

.

property_get("persist.xxx.xxxx",value,"0");

相关文章:

  • 2022-12-23
  • 2021-06-13
  • 2021-09-15
  • 2021-11-30
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
猜你喜欢
  • 2022-12-23
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-01-01
相关资源
相似解决方案