hosijyun / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

smali-1.2.jar does not reassemble .odex into a classes.dex properly. #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. java -jar smali-1.2.jar out -o classes.dex
2.
3.

What is the expected output? What do you see instead?
smali should reassemble the .odex file into a .dex file

java -jar smali-1.2.jar out -o classes.dex
/home/vince/Android/services/out/com/android/server/WindowManagerService.smali[2
5847,4]
[smali_file, method, statements_and_directives, instruction]
invoke-virtual-quick is an odexed instruction. You cannot reassemble a
disassembled odex file unless it has been deodexed.
/home/vince/Android/services/out/com/android/server/WindowManagerService.smali[2
5854,4]
[smali_file, method, statements_and_directives, instruction]
invoke-virtual-quick is an odexed instruction. You cannot reassemble a
disassembled odex file unless it has been deodexed.
/home/vince/Android/services/out/com/android/server/LocationManagerService.smali
[7271,4]
[smali_file, method, statements_and_directives, instruction]
invoke-virtual-quick is an odexed instruction. You cannot reassemble a
disassembled odex file unless it has been deodexed.
What version of the product are you using? On what operating system?
smali-1.2 Ubuntu 9.10

Please provide any additional information below.

Original issue reported on code.google.com by oban...@gmail.com on 4 Mar 2010 at 4:14

GoogleCodeExporter commented 9 years ago
This is fixed in 1.2.1

Original comment by JesusFr...@gmail.com on 6 Mar 2010 at 6:29