last24 / smali

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

Deodexing from vzwlbs.odex fails #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
Error while disassembling method 
Lcom/vzw/location/service/GpsLocationProviderFactory;->createProvider(ILandroid/
content/Context;)Lcom/vzw/location/service/IGpsLocationProvider;. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: class 
Lcom/vzw/location/service/QctGpsProviderAdapter; cannot be resolved.
        at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedValidationException(ClassPath.java:535)
        at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getClassDepth(ClassPath.java:543)
        at org.jf.dexlib.Code.Analysis.ClassPath.getCommonSuperclass(ClassPath.java:383)
        at org.jf.dexlib.Code.Analysis.RegisterType.merge(RegisterType.java:275)
        at org.jf.dexlib.Code.Analysis.AnalyzedInstruction.mergeRegister(AnalyzedInstruction.java:185)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.propagateRegisterToSuccessors(MethodAnalyzer.java:444)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setPostRegisterTypeAndPropagateChanges(MethodAnalyzer.java:424)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeDirectCommon(MethodAnalyzer.java:2937)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeDirect(MethodAnalyzer.java:2886)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:817)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:208)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:353)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:290)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:130)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:322)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefinition.java:291)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:135)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:191)
        at org.jf.baksmali.main.main(main.java:278)
opcode: invoke-direct
CodeAddress: 17
Method: 
Lcom/vzw/location/service/GpsLocationProviderFactory;->createProvider(ILandroid/
content/Context;)Lcom/vzw/location/service/IGpsLocationProvider;

What is the exact smali/baksmali command that you ran?
java -jar baksmali-1.2.5.jar -x vzwlbs.odex

What version of smali/baksmali are you using? What rom are you working
from?
1.2.5
What is the airspeed velocity of an unladen swallow?

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

Original issue reported on code.google.com by coolf...@gmail.com on 20 Dec 2010 at 3:34

Attachments:

GoogleCodeExporter commented 9 years ago
You need to find the jar/apk which contains the missing class, and add that to 
the classpath that baksmali uses, with the -c option.

Original comment by JesusFr...@gmail.com on 20 Dec 2010 at 5:52

GoogleCodeExporter commented 9 years ago
thanks
but i can't found any class 

Original comment by coolf...@gmail.com on 29 Dec 2010 at 3:03

GoogleCodeExporter commented 9 years ago
If you are 100% certain that the class doesn't exist on the device (which does 
occasionally happen), you can use the -I option to ignore the missing class 
errors.

However, if the class does in fact exist somewhere on the device and the -I 
option is used, it will most likely cause a runtime crash at some point.

Original comment by JesusFr...@gmail.com on 29 Dec 2010 at 3:21