Rangderaj / smali

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

Error occured while loading boot class path files?? #179

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-2.0b5.jar -x Timer.odex

What version of smali/baksmali are you using? What rom are you working
from?
baksmali-2.0b5.jar

What is the airspeed velocity of an unladen swallow?

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

D:\Odex>java -jar baksmali-2.0b5.jar -x Timer.odex

Error occured while loading boot class path files. Aborting.
org.jf.util.ExceptionWithContext: Cannot locate boot class path file /system/fra
mework/core.odex
        at org.jf.dexlib2.analysis.ClassPath.loadClassPathEntry(ClassPath.java:2
17)
        at org.jf.dexlib2.analysis.ClassPath.fromClassPath(ClassPath.java:161)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:59)
        at org.jf.baksmali.main.main(main.java:274)

Original issue reported on code.google.com by bem...@gmail.com on 16 Jul 2013 at 7:09

GoogleCodeExporter commented 9 years ago
You have to specify a directory containing the framework jars associated with 
the odex you are deodexing.

i.e.

adb pull /system/framework /tmp/framework
baksmali -x -d /tmp/framework Timer.odex

Original comment by jesusfreke@jesusfreke.com on 17 Jul 2013 at 12:33

GoogleCodeExporter commented 9 years ago
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core
.odex
        at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:218)
        at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
6)
        at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:111)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:94)
        at org.jf.baksmali.main.main(main.java:308)

Original comment by djbeka...@gmail.com on 9 Feb 2014 at 4:09

GoogleCodeExporter commented 9 years ago
djbeka.uz: just providing a stack trace without any context is not useful. In 
particular, did you try the solution I already provided?

Original comment by jesusfreke@jesusfreke.com on 9 Feb 2014 at 8:50