What seems to be the problem?
Running a smalied previously baksamlied file on Android gives the error:
E/dalvikvm(21057): Out-of-order encoded_annotation name_idx: 0xb443 then 0x8bd7
E/dalvikvm(21057): Trouble with item 13 @ offset 0x2417c3
E/dalvikvm(21057): Swap of section type 2004 failed
E/dalvikvm(21057): ERROR: Byte swap + verify faile
Sadly, it only gives the bytecode offset and not the actual name of the
annotation.
What is the exact smali/baksmali command that you ran?
java -jar Downloads/smali-2.0.5.jar out/ -o a.dex
What version of smali/baksmali are you using? What rom are you working
from?
2.0.5
Please provide any additional information below: error messages, symptoms,
etc.
This is probably a bug in dexlib2 which fails to sort the annotations.
Probably related: https://code.google.com/p/smali/issues/detail?id=211
Original issue reported on code.google.com by CodeFrea...@gmail.com on 10 Mar 2015 at 5:31
Original issue reported on code.google.com by
CodeFrea...@gmail.com
on 10 Mar 2015 at 5:31Attachments: