- Edited
I'm trying to create a build for a pixel 6 pro by adding some prebuilt apps as it is done with PdfViewer, Auditor and Camera. For example I added in myBuild/external/ F-Droid :
F-Droid/
- Android.mk
- prebuilt
- F-Droid.apk
with Android.mk :
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := F-Droid
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_SRC_FILES := prebuilt/F-Droid.apk
LOCAL_PRODUCT_MODULE := true
include $(BUILD_PREBUILT)
After I finished the build and flashed it on my phone. F-Droid was not preinstalled. I must be missing some steps.