good morning guys how can i change the launcher of the android tv in the code source not installing the apk
android.mk add demo:
LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3
Good morning @goenjoy well i have my own app I have copied the source code in vendor/vim3
and i have call it in .mk file but still the same problem i cant boot
Post screenshots of your out//system/app and out//system/priv-app folders and inside the folder of your launcher in those folders, which one it is in.
Good morning @mo123 there is no app folder under /system
this is the screen of /system
and my questions is i have my own launcher i wanna add it to my source code i’m not gonna use the default launcher of the aosp which is Launcher2 nor 3 so how can do this.
i had a solution but it doesnt work for me .
i created a folder under /packages/app/Launcher
then i putted the .apk there and i have create the Android.mk file
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := Launcher
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_CERTIFICATE := platform
LOCAL_SRC_FILES := Launcher.apk
LOCAL_MODULE_OWNER := system
include $(BUILD_PREBUILT)
@Boudour mkdir vendor/amlogic/common/apps/Launcher
cp your/Launcher.apk vendor/amlogic/common/apps/Launcher/
vim Android.mk
#Launcher
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := Launcher
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_TAGS := optional
LOCAL_BUILT_MODULE_STEM := package.apk
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
LOCAL_DEX_PREOPT:=false
LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3
include $(BUILD_PREBUILT)
/build/target/product/core.mk PRODUCT_PACKAGES +=Launcher