Giter Site home page Giter Site logo

Comments (20)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Have you identified which jar file the class
"Landroid/content/DialogInterface$OnCancelListener;" is in?

Original comment by [email protected] on 4 Mar 2010 at 2:10

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Actually, I need to add more info to that error message to be able to resolve 
this
type of error in the future. For now, just tell me what rom you're trying to 
deodex,
and I'll take a look and see what the problem is

Original comment by [email protected] on 4 Mar 2010 at 2:12

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
im trying to deodex services.odex in /system/framework from the Gumbo 1.5c ROM. 
I got
it from here...

http://forum.androidcentral.com/htc-hero-roms-hacks/6699-cdma-hero-rom-gumbo-rom
-1-5c.html

Original comment by [email protected] on 4 Mar 2010 at 2:15

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024

Original comment by [email protected] on 4 Mar 2010 at 2:17

  • Changed title: "Error occured while loading boot class path files"

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Here is what im doing...I adb pulled all the .jar files you mentioned into a 
folder
by themselves. I also downloaded baksmali-1.2 and smali-1.2 and placed them 
into the
same folder. I then renamed and deleted the .jar files you said to delete. I 
tried the 
java -jar baksmali-1.2.jar -x services.odex  And thats when I got that message. 
Did I
do it right?

Original comment by [email protected] on 4 Mar 2010 at 2:18

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
I've found the issue in baksmali. You'll have to wait until I fix it - there's 
no
workaround. I'm hoping to get the fix in this evening. And I'll try and do a 
bugfix
release soonish.

Original comment by [email protected] on 4 Mar 2010 at 3:38

  • Changed state: Started
  • Added labels: Priority-Critical
  • Removed labels: Priority-Medium

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Thanks for your effort I appreciate it! Looking forward to a new release...

Original comment by [email protected] on 4 Mar 2010 at 3:47

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Same exact error with a few varying class paths running v1.2 on Windows 7 x64-

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ValidationException: class 
Lcom/htc/preference/HtcPreference$OnPreferenceChangeListener; cannot be 
resolved.
        at 
org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedValidationExc
eptio
n(ClassPath.java:391)
        at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getSuperclass
(ClassPath.java:395)
        at 
org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInterfaces
(ClassPath.java:676)
        at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:532)
        at org.jf.dexlib.Code.Analysis.ClassPath.loadDexFile(ClassPath.java:127)

        at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:69)
        at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath
(ClassPath.java:54)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:68)
        at org.jf.baksmali.main.main(main.java:263)

Thanks for all you do eagerly looking forward to your bugfix! :)

Original comment by [email protected] on 5 Mar 2010 at 3:49

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
[deleted comment]

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Thanks obannvi,

Got past that hurdle now I'm on a new error and I'm not 100% sure where to go 
from 
there though it looks like it's missing a dependency to deodex?

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Could not find class Lcom/htc/preferenc
e/HtcListPreference;
        at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:183)
        at org.jf.dexlib.Code.Analysis.ClassPath.access$700(ClassPath.java:42)
        at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass
(ClassPath.java:689)
        at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:575)
        at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:187)
        at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:80)
        at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath
(ClassPath.java:58)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:71)
        at org.jf.baksmali.main.main(main.java:268)
Error while loading class Lcom/android/phone/CLIRListPreference; from file Phone
.odex

Don't want to clutter up this issue but I really don't think this s a specfic 
issue 
to baksmali anymore.

Original comment by [email protected] on 5 Mar 2010 at 4:43

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Mark,
I would create a new bug report and post it. Also, make sure in the bug report 
you
put the command you're using...

Vince

Original comment by [email protected] on 5 Mar 2010 at 4:45

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Yeah, the HTC roms typically have a lot more in the BOOTCLASSPATH than the 
standard 5
jars. You'll need to find the BOOTCLASSPATH and tell baksmali to use that with 
the -c
option. You only need to add the names of the jar files, not the full path. For
example, the standard BOOTCLASSPATH would look like:

-c core.jar:ext.jar:framework.jar:android.policy.jar:services.jar

You can find the BOOTCLASSPATH in /init.rc

Original comment by [email protected] on 5 Mar 2010 at 4:47

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
[deleted comment]

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
This is fixed in 1.2.1

Original comment by [email protected] on 6 Mar 2010 at 6:28

  • Changed state: Fixed

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
I have the same issue when I try to do java -jar baksmali-1.2.3.jar -x 
com.htc.framework.odex.  Am I doing something wrong?

Original comment by [email protected] on 19 Jun 2010 at 6:01

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
mp.jesusfreak09 - what is the error that you are getting?

Original comment by [email protected] on 19 Jun 2010 at 1:12

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Well, I figured it out.  Let's just mark this one down as user error.  My 
apologies.

Original comment by [email protected] on 21 Jun 2010 at 6:17

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
[deleted comment]

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
On executing following command,

>java -jar baksmali-1.2.6.jar -o C:\decompiledBinary -x C:\temp\classes.dex

prompts me with following error:

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file cor
.jar
        at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.ja
a:237)
        at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:1
5)
        at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cl
ssPath.java:110)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
        at org.jf.baksmali.main.main(main.java:278)


Anyone help really appreciated.

thanks.

Original comment by [email protected] on 26 May 2011 at 12:07

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
summaira: You need to specify the directory that contains the framework files 
with the -d option. please see 
http://code.google.com/p/smali/wiki/DeodexInstructions


Original comment by [email protected] on 26 May 2011 at 4:24

from smali.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.