Wednesday 24 July 2013

Convert .apk to java files


1. Change the extension of your .apk file to .zip
2. Then unzip the zip file, there you will see a file, named classes.dex. This file only has all the java class files
3. Now you need to convert the classes.dex file into jar file. We can do it by Dex2Jar. Download the it from the here  and unzip it.
4. Copy your classes.dex file into the unzipped Dex2Jar folder
5. Now go to the command line and go to the path of Dex2Jar folder, then run the below command

            dex2jar.bat classes.dex  ---> This will create a jar file in the unzipped folder.
6. Now you need to convert this jar file into java classes. For the you can use java decompiler. Download that from here

2 comments:


  1. Best place to learn Appium Android IOS Automation Testing Training in Chennai

    Go for Appium training in chennai for real time mobile automation testing training with real time project support.
    Mr. Vishwa is a best person who can teach and develop people in Appium and Selenium,Coded UI Automation Tools with real time scenarios You can contact 8122241286 for Best APPIUM and selenium Training in Chennai

    ReplyDelete
  2. Appium Training in chennai
    We provides Best Appium Training in Chennai with real time project assistance by our leading Appium mobile App Automation testing architect
    For Free Live Demo @ Call to 8122241286.
    Appium ,Selenium,Mobile Automation Testiing using Android and IOS
    www.thecreatingexperts.com
    Appium training in chennai

    ReplyDelete