修改文档:vim device/mediateksample/k61v1_64_bsp/device.mk
添加属性值 : PRODUCT_PACKAGES+=
新建mk文档;
内置apk时, Android.mk基本内容:
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+LOCAL_MODULE := BaiDu
+LOCAL_MODULE_CLASS := APPS
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
+LOCAL_CERTIFICATE := PRESIGNED
+#LOCAL_CERTIFICATE := platform //使用系统签名
+LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
+include $(BUILD_PREBUILT)
标签:预置,SUFFIX,mk,apk,MODULE,卸载,LOCAL From: https://www.cnblogs.com/a-n-yan/p/17436931.html