I am facing an issue with AOSP incremental OTA build. If I do an incremental build (without make clean), build completes fast and I get a smaller OTA file, and OTA updates successfully on the target system; BUT the incremental build number of target system remains same. So next time when another OTA is generated and tried to update, it fails, giving error : "package expects build fingerprint of ../../..//.. ". as, incremental build number is part of build fingerprint.
If I do 'make clean' before 'make dist', things work fine; but build time is much more and OTA file is bloated; many packages which are NOT modified are identified as modified by some %, and is added to OTA.
How to increment build number without 'make clean' ?
Thanks in advance.