Closed GoogleCodeExporter closed 9 years ago
I disassembled and then reassembled the file you provided, and the resulting
file looks ok to me. It is 8 bytes smaller, as you mentioned, but this doesn't
mean that it is corrupted. The order of various items in the dex file can
differ, and due to the way offsets are stored, smaller offsets take less space
- hence the size difference.
Regarding the so called "corruption" you see when looking at a byte-level
comparison of the two files - the dex format uses byte offsets for many things,
so a single item that is ordered differently can actually cause many byte-level
differences, due to the byte offsets being different.
In short, as far as I can tell, everything is working as expected and I don't
see any problems. Have you actually tried pushing the re-assembled dex file to
the phone to see if it works?
Original comment by JesusFr...@gmail.com
on 13 Nov 2010 at 8:21
Original comment by JesusFr...@gmail.com
on 13 Nov 2010 at 11:19
Original issue reported on code.google.com by
dsv.ru...@gmail.com
on 13 Nov 2010 at 8:12Attachments: