Comments (20)
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.
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.
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.
Original comment by [email protected]
on 4 Mar 2010 at 2:17
- Changed title: "Error occured while loading boot class path files"
from smali.
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.
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.
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.
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.
[deleted comment]
from smali.
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.
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.
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.
[deleted comment]
from smali.
This is fixed in 1.2.1
Original comment by [email protected]
on 6 Mar 2010 at 6:28
- Changed state: Fixed
from smali.
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.
mp.jesusfreak09 - what is the error that you are getting?
Original comment by [email protected]
on 19 Jun 2010 at 1:12
from smali.
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.
[deleted comment]
from smali.
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.
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)
- smali don't support dex which included link section HOT 6
- Error loading boot class path files HOT 4
- Problem deodex core.jar HOT 3
- After deodexing some functions are broken HOT 13
- handle for non-ASCII file/class names HOT 2
- wrapper script progdir retrival HOT 2
- Differences when decompile with Baksmali 1.2.6 and 1.2.8 HOT 5
- This is not an issue is a doubt HOT 1
- Decompiling error - ArrayIndexOutOfBounds HOT 6
- Problem with a some dex HOT 6
- Why the dex file changed? HOT 1
- Errors decompiling SystemUI.apk from a Sense 3.5 ROM. HOT 4
- Is there possible to disassemble a dex file on Android device? HOT 1
- Baksmali is broken for Ice Cream Sandwich HOT 14
- error in 2.3.5: regCount does not match the number of arguments of the method HOT 4
- happy rainbow ponies or how i learned to story worrying and deodex bluetooth.apk HOT 1
- Strange unavailable API references after dodexing Browser.odex HOT 6
- baksmali.jar - Invalid method index: 22 HOT 13
- Add an option to enable partial code analyzing which doesn HOT 2
- Add an option to enable partial code analyzing which doesn't require full class path HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smali.