down votefavorite 
<http://stackoverflow.com/questions/42578037/aosp-ota-incremental-version-issue#>

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. 
(os.build.version.incremental returns old number) So next time when another 
OTA is generated and tried to update, it fails, giving error : "package 
expects build fingerprint of ../../../(build number)/.. ". 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' ?

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to