方法一:
Android.mk:
配置如下:
1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_MODULE := gps.conf 5LOCAL_MODULE_TAGS := optional 6LOCAL_MODULE_CLASS := ETC 7LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/ 8LOCAL_SRC_FILES := gps.conf 9 10include $(BUILD_PREBUILT)
相关模块: LOCAL_REQUIRED_MODULES := \
gps.conf
方法二:
device.mk 中PRODUCT_COPY_FILES 拷贝
LOCAL_REQUIRED_MODULES := \