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:
- Change the code
- source build/envsetup.sh
- lunch [X]
- Go to the Android.mk file source
- mm -j12
To push it into the device I'm using the following steps:
- adb root
- adb remount
- kill the process
- push the file from out/*/vendor/bin to /vendor/bin
- 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?