forprevious / smali

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

How can I resolve ClassNotFOundException of baksmali? #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?

What is the exact smali/baksmali command that you ran?
java -jar baksmali.jar -d system\framework -x Email.odex

What version of smali/baksmali are you using? What rom are you working
from?
baksmali 1.2.5 and windowXP

What is the airspeed velocity of an unladen swallow?

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

TwSodtkeyItem class is located at system/twframework.odex. How can it be 
connected to decompile target class?

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find sup
erclass Lcom/sec/android/touchwiz/widget/TwSoftkeyItem;
        at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPa
th.java:784)
        at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:
668)
        at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280
)
        at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:16
3)
        at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
        at org.jf.baksmali.main.main(main.java:278)
Error while loading class Lcom/android/email/EmailTwSoftkeyItem; from file Email
.odex
Error while loading ClassPath class Lcom/android/email/EmailTwSoftkeyItem;

Original issue reported on code.google.com by jerom0...@gmail.com on 29 Nov 2010 at 11:04

GoogleCodeExporter commented 9 years ago
You use the -c option to tell baksmali about additional dex files to look for 
classes in. With an initial colon, it will add the entries to the 
default/existing classpath. Without an initial colon, it will replace the 
default/existing classpath altogether.

Original comment by JesusFr...@gmail.com on 29 Nov 2010 at 2:36

GoogleCodeExporter commented 9 years ago
It works!! Thank you very much!!

Original comment by jerom0...@gmail.com on 30 Nov 2010 at 1:18