Giter Site home page Giter Site logo

Exception in thread "main" org.jf.util.ExceptionWithContext: Calculator.odex is not an apk, dex file or odex file. about smali HOT 4 OPEN

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Exception in thread "main" org.jf.util.ExceptionWithContext: Calculator.odex is not an apk, dex file or odex file.

from smali.

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
ART odexes are not supported. See my comments in 
https://code.google.com/p/smali/issues/detail?id=225

Original comment by [email protected] on 30 Jan 2015 at 7:08

  • Changed state: WAI
  • Added labels: ****
  • Removed labels: ****

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
That being said, I could probably at least do some sort of detection of an ART 
odex, and print a more helpful error mesage :)

Original comment by [email protected] on 30 Jan 2015 at 7:09

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Thanks, I am primarily interested in extracting classes.dex to be used by 
another tool for analysis. Can you recommend some other solution? 

Original comment by [email protected] on 30 Jan 2015 at 9:20

  • Added labels: ****
  • Removed labels: ****

from smali.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
There are tools out there to extract the dex file from an oat file (those .odex 
files are actually oat files), but it will be in an art-specific odex form, 
which baksmali won't be able to deodex correctly. So it will have the odex 
instructions like invoke-virtual/quick, which have a vtable index instead of a 
method name - and similarly for field accesses.


I'm not aware of any tools for deodexing an art odex.

Original comment by [email protected] on 30 Jan 2015 at 11:55

  • Added labels: ****
  • Removed labels: ****

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.