error: undefined reference to 'property_set (转载)

  转自:http://blog.csdn.net/u011589606/article/details/23474241

in the cpp file, please include

#include <cutils/properties.h>

in Android.mk, please add

LOCAL_STATIC_LIBRARIES :=
 
    libcutils
 

原文地址:https://www.cnblogs.com/lance-ehf/p/4009058.html