Wie installiere ich eine App im Ordner data / app anstelle des Ordners system / app in einem AOSP-Build?
Ich lege meinen Bewerbungsmappe in
packages/apps // inside AOSP source code
Jetzt hat meine Bewerbung folgendesAndroid.mk
im selben Ordner:
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := package_name
LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE)
# Use the folloing include to make our test app
include $(call all-makefiles-under,$(LOCAL_PATH))
Wenn ich jetzt mein AOSP-Projekt erstelle, kompiliert es auch meine Anwendung und legt die APK-Datei darin ab:
out / target / product / $ MY_PLATFORM / system / app
Aber ich möchte es einfügen in:
out / target / product / $ MY_PLATFORM / data / app
Wie mache ich das? Welche make-Datei ändere ich?