How to clear cache in the build

Skip to first unread message

Netanel Hadad

Jan 19, 2023, 1:00:38 PMJan 19
to Android Building

Sometimes, when I try to compile only one service in my AOSP, I don't see the changes in fact, probably because of a compilation cache memory.

I'm trying to do by the following steps:
  1. Change the code
  2. source build/
  3. lunch [X]
  4. Go to the file source
  5. mm -j12

To push it into the device I'm using the following steps:
  1. adb root
  2. adb remount
  3. kill the process
  4. push the file from out/*/vendor/bin to /vendor/bin
  5. chmod +x

Sometimes it indeed works and I do see my changes, but sometimes, no matter what I do, the file is not updated with my changes.

Any idea what I'm doing wrong?

Reply all
Reply to author
0 new messages