转自: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