Android AOSP - adding app to /packages/apps

喜夏-厌秋 提交于 2019-11-30 20:33:48

The steps are as follows:

  1. Place MyApp folder under /packages/apps.
  2. Add Android.mk to /packages/apps/MyApp (yours should work).
  3. Add MyApp entry to PRODUCT_PACKAGES in the target product .mk file under /build/target/product (missed the step). E.g. when building for sdk, the entry in sdk.mk is

    PRODUCT_PACKAGES := \
            ... \
            SomeApp \
            MyApp
    
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!