Platform: RK3288
OS: Android 6.0
Kernel: 3.10.92
路径: rk3288/device/rockchip/rk3288/Sougou:
Android.mk //标准预置第三方apk方法
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := sougoushurufa
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_TAGS := optional
LOCAL_BUILT_MODULE_STEM := package.apk
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
#LOCAL_PRIVILEGED_MODULE :=
#LOCAL_OVERRIDES_PACKAGES :=
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
#LOCAL_REQUIRED_MODULES :=
LOCAL_CERTIFICATE := PRESIGNED
include $(BUILD_PREBUILT)
路径: rk3288/device/rockchip/rk3288
device.mk
diff --git a/device.mk b/device.mk
index c9f1ec4..e058a2c 100644
--- a/device.mk
+++ b/device.mk
@@ -47,6 +47,10 @@ endif
PRODUCT_COPY_FILES += \
device/rockchip/rk3288/rk3288_box/init.rc:root/init.rc \
device/rockchip/rk3288/fstab.rk30board.bootmode.unknown:root/fstab.rk30board.bootmode.unknown \
dev
OS: Android 6.0
Kernel: 3.10.92
添加方法:
路径: rk3288/device/rockchip/rk3288/Sougou:
Android.mk //标准预置第三方apk方法
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := sougoushurufa
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_TAGS := optional
LOCAL_BUILT_MODULE_STEM := package.apk
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
#LOCAL_PRIVILEGED_MODULE :=
#LOCAL_OVERRIDES_PACKAGES :=
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
#LOCAL_REQUIRED_MODULES :=
LOCAL_CERTIFICATE := PRESIGNED
include $(BUILD_PREBUILT)
路径: rk3288/device/rockchip/rk3288
device.mk
diff --git a/device.mk b/device.mk
index c9f1ec4..e058a2c 100644
--- a/device.mk
+++ b/device.mk
@@ -47,6 +47,10 @@ endif
PRODUCT_COPY_FILES += \
device/rockchip/rk3288/rk3288_box/init.rc:root/init.rc \
device/rockchip/rk3288/fstab.rk30board.bootmode.unknown:root/fstab.rk30board.bootmode.unknown \
dev