How do I add APKs in an AOSP build?

前端 未结 3 448
醉梦人生
醉梦人生 2020-11-27 12:04

I need to add some 3rd party APKs to my AOSP build. What folder should I keep these APKs so that when I build the code and the image is created, it is installed in the emula

3条回答
  •  遥遥无期
    2020-11-27 12:14

    The Android.mk presented above will install the APK in /system/app

    If you wish to install the APK in /data/app you will need to add the following the line to Android.mk before line include $(BUILD_PREBUILT)

    LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)
    

提交回复
热议问题