last24 / smali

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

baksmali can't fetch classes from framework.odex #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
I was tring to deodex some file. And I got errors that I need 
core.odex and ext.odex. After I put them in the same folder. baksmali gave 
error that it can't find some class. Later I dicovered that this class is in 
framework.odex, so I put it in the same folder. But baksmali still couldn't 
find the class. Than I used -c option and after that I have this error:
"Error while loading class Landroid/Manifest$permission; from file 
.\framework.zip"

What is the exact smali/baksmali command that you ran?
java -jar baksmali-1.2.6.jar -d ../framework -c framework.odex:framework.jar -x 
asus-preloaded.odex -o out3

What version of smali/baksmali are you using? What rom are you working
from?
1.2.6
What is the airspeed velocity of an unladen swallow?

Please provide any additional information below: error messages, symptoms,
etc.

Original issue reported on code.google.com by mar...@gmail.com on 16 Apr 2011 at 1:49

GoogleCodeExporter commented 9 years ago
Previously I was deodexing other file and baksmali asked for framework.odex, 
but it didn't in this case

Original comment by mar...@gmail.com on 16 Apr 2011 at 1:55

GoogleCodeExporter commented 9 years ago
Please read over the deodexing wiki page:

http://code.google.com/p/smali/wiki/DeodexInstructions

And my comments on this issue:

http://code.google.com/p/smali/issues/detail?id=61&can=1

Original comment by JesusFr...@gmail.com on 16 Apr 2011 at 2:00

GoogleCodeExporter commented 9 years ago
Ok, if framework.jar\odex is in default BOOTCLASSPATH why doesn't baksmali 
fetch required class and produces error?

Original comment by mar...@gmail.com on 16 Apr 2011 at 10:33