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.

    10 months later

    Did you ever find a solution to this? I'm also trying to do the same thing...

    • [deleted]

    Paspieds Why can't you install it by yourself btw