soga07 / smali

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

decode TouchWizCalendar.odex erroe #41

Closed GoogleCodeExporter closed 9 years ago

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

decode TouchWizCalendar.odex have error
Error while disassembling method Lcom/android/calendar/DatePickerDialogWithLunar
;->onClick(Landroid/content/DialogInterface;I)V. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: class Lcom/sec/android/soluncon
verter/SolarLunarConverter; cannot be resolved.
        at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedVa
lidationException(ClassPath.java:535).............more and more

What is the exact smali/baksmali command that you ran?
-c :twframework.jar:javax.obex.jar:com.google.android.maps.jar -x 
TouchWizCalendar.odex

What version of smali/baksmali are you using? 
baksmali-1.2.4.jar

What rom are you working from?
 work fine i9000 but not work m110s

What is the airspeed velocity of an unladen swallow?

Please provide any additional information below: error messages, symptoms,
etc.
java -jar baksmali-1.2.4.jar -c :twframework.
jar:javax.obex.jar:com.google.android.maps.jar -x TouchWizCalendar.odex
Error while disassembling method Lcom/android/calendar/DatePickerDialogWithLunar
;->onClick(Landroid/content/DialogInterface;I)V. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: class Lcom/sec/android/soluncon
verter/SolarLunarConverter; cannot be resolved.
        at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedVa
lidationException(ClassPath.java:535)
        at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getClassDept
h(ClassPath.java:543)
        at org.jf.dexlib.Code.Analysis.ClassPath.getCommonSuperclass(ClassPath.j
ava:383)
        at org.jf.dexlib.Code.Analysis.RegisterType.merge(RegisterType.java:275)

        at org.jf.dexlib.Code.Analysis.AnalyzedInstruction.mergeRegister(Analyze
dInstruction.java:185)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.propagateRegisterToSuccess
ors(MethodAnalyzer.java:444)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setPostRegisterTypeAndProp
agateChanges(MethodAnalyzer.java:424)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setDestinationRegisterType
AndPropagateChanges(MethodAnalyzer.java:396)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeIgetWideObject(Meth
odAnalyzer.java:2572)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:776)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:208)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:353)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:290)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:130)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:322)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDef
inition.java:307)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:136)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:189)
        at org.jf.baksmali.main.main(main.java:278)
opcode: iget-object
CodeAddress: 92

Original issue reported on code.google.com by coolf...@gmail.com on 10 Aug 2010 at 5:08

GoogleCodeExporter commented 9 years ago
This is typically caused by a missing dependency. You need to find the jar/apk 
that contains the classes that it can't find, and add it to the end of -c list.

Alternately, it some cases, the classes that it can't find really don't exist 
anywhere on the device, in which case the only option is to add the -I option, 
which causes it to ignore these missing class errors. You should *only* use the 
-I option if you are 100% certain that the class doesn't exist anywhere on the 
device. Otherwise, it will almost certainly cause crashes when the app is run.

Original comment by JesusFr...@gmail.com on 10 Aug 2010 at 6:19

GoogleCodeExporter commented 9 years ago
thans friend
i will try do it

Original comment by coolf...@gmail.com on 10 Aug 2010 at 11:11