How do I install an app into the data/app folder instead of the system/app folder in an AOSP build?

前端 未结 3 1372
余生分开走
余生分开走 2020-12-17 23:30

I put my application folder in

packages/apps  // inside AOSP source code

Now my application has following Android.mk in the s

3条回答
  •  别那么骄傲
    2020-12-18 00:01

    Basically, the android AOSP build system doesn't build anything into /data. The idea of the /data partition is that it's user data, and that it will be shipped from the factory empty (and deleted entirely on a device reset). If you want to install something into /data you do it after install using "adb install" or any other mechanism.

    What exactly are you trying to accomplish?

提交回复
热议问题