Hi all,
I would like to include a custom app (apk) when I build the Android 5 source for NanoPC T2.
I followed the procudure below and then compiled and booted the img ok, but the app is not installed. FYI - the apk is called ControlCenter and it is signed with the supplied platform keys.
Procedure:
Created device-partial.mk in ~/android5/vendor/isenzo/apps
Created Android.mk in ~/android5/vendor/isenzo/apps/prebuilt/ and copied ControlCenter.apk into the same folder
device-partial.mk contents:
Android.mk contents:
I would like to include a custom app (apk) when I build the Android 5 source for NanoPC T2.
I followed the procudure below and then compiled and booted the img ok, but the app is not installed. FYI - the apk is called ControlCenter and it is signed with the supplied platform keys.
Procedure:
Created device-partial.mk in ~/android5/vendor/isenzo/apps
Created Android.mk in ~/android5/vendor/isenzo/apps/prebuilt/ and copied ControlCenter.apk into the same folder
device-partial.mk contents:
Code: Select all
# FriendlyARM apps
PRODUCT_PACKAGES += \
ControlCenter
Android.mk contents:
Code: Select all
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_BOARD_PLATFORM),slsiap)
include $(CLEAR_VARS)
LOCAL_MODULE := ControlCenter
LOCAL_MODULE_PATH := $(TARGET_OUT_APPS_PRIVILEGED)
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_OWNER := isenzo
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := ControlCenter.apk
LOCAL_CERTIFICATE := platform
include $(BUILD_PREBUILT)
endif