how to use DEXtoJar

I find the solution to decompile a file dex to jar from this link http://code.google.com/p/dex2jar/downloads/list but i don't understand how to use it.

How to extract code of .apk file which is not working?

Actually I was trying to extract code of a .apk file called cloudfilz.apk and wanted to manipulate in its source code so I followed the steps given below:- make a new folder and put .apk file...

Decompile an APK, modify it and then recompile it

I need to modify an existing APK, modify the sources and then recompile it. I can decompile it using dex2jar or apktool, it's working great From the jar file I can obtain the java sources (using...

Android library - ClassDefNotFoundError - class not in classes.dex

I have an Android library (Java code) that I share among multiple Android application projects using Eclipse. For application projects I've created in the past I'm able to reference the Android...

How to avoid reverse engineering of an APK file

I am developing a payment processing app for Android, and I want to prevent a hacker from accessing any resources, assets or source code from the APK file. If someone changes the .apk extension to...

Error with dex2jar classes.dex file for reverse engineering of apk file

I am trying to extract the source code from an apk file and I am following the following steps https://stackoverflow.com/questions/3593420/android-getting-source-code-from-an-apk-file My problem...

cmd cannot recognize dex2jar- Android Apk

i want to get source code from apk and use this solution https://stackoverflow.com/questions/3593420/android-getting-source-code-from-an-apk-file i try to dex file to jar and i used dex2jar; but...

getting error while converting .apk file to jar file

I am trying to convert .apk to jar for this I used below link http://androidorigin.blogspot.in/2011/02/dex-format-to-jar-format.html but now I m getting error. as:- this cmd is deprecated, use the...

java heap size error dex2jar android decompile solution?

i was working on a android project but my laptop was formatted so i lost all code but i had a signed apk of the file on my phone .. whenever i try to use dex2jar it stops converting mid way with...

using java decompiler jd-gui and getting // INTERNAL ERROR //

I decompiled an apk file using dex2jar and opened the resulting jar file in jd-gui. I can view almost all of the code nicely but one section - the constants - displays only // INTERNAL ERROR //...

Obfuscating ORMLite model classes with Proguard

I have a few models that I want to obfuscate in my code. I know that I could just ignore the whole model package but I don't want to do that. I tried a few proguard tweaks and checked all relevant...

How to define proguard to keep java interface for IMEI (using Phonegap for Android)?

I've been searching (this site and others) for an answer for a couple weeks now. I'm pretty sure my problem lies with how I've defined my keep options in the proguard-project.txt. I've added a...

How to deobfuscate jar file using mapping.txt generated by Proguard?

This may sound suspicious, but I need to deobfuscate my own app. Some time ago I published my app that I obfuscated with Proguard. Unfortunately I did not save that version of the app and changed...

Recompile decompiled apk file

I decompiled an apk file using APKTool and got java files using dex2jar. I translated the application into my language and edited a text in java files. Now, how I can recompile it? And how I can...

Cordova android 5.1.1 APK obfuscation with proguard confusion

With tools like dex2jar and jdgui2 it is very easy to inspect the contents of the APK. We are trying to use Proguard in our Cordova project to "protect" a few classes that contain information we...

Extract files from signed APK - Android Studio Key

I was making an app, it took me a while to almost finish it but my pc broken and I only have the .apk on my Nexus 6P. I've tried to extract (from phone) and decompile but no luck, I think it's...

Terminal - dex2jar mac

I am trying to convert .dex to.jar, I have dex2jar on my desktop and I also placed the classes.dex file on my desktop. I navigated to d2j-dex2jar.sh using MacBook-Pro:dex2jar Username$...

Decompile APK, modify an activity and recompile to APK

I'm trying to do something simple. I have an APK file, I want to change a certain variable value in a certain activity, and then recompile it back to APK so I can use it on my android device. It's...

ProGuard - Application works fine in emulator, but fails when trying to build apk

I'm trying to release my application, but I need the apk to be obfuscated + I'd like to cut some size. I also don't need the apk to be signed, so the debug build would do it. I'm using a few...

dexexception: not support version

I was trying to convert apk to source code. When I entered below command ./d2j-dex2jar.sh classes.dex I got this exception: com.googlecode.d2j.DexException: not support version. at...

Warning:can't find referenced class

There is method called onDelete in a Kotlin class. override fun onDelete(position: Int) { templates?.apply { val deleteDialog = DeleteTemplateDialog(view.getViewContext()) ...

How do I use dex2jar to reverse multiple dex files

I know that when the apk file is decompressed and there is only one dex file, d2j-dex2jar.bat classes.dex will get the correct jar file, But with classes.dex, classes2.dex, classes3.dex files,...

Why can't I get the source code by apktool?

I use Apktool,dex2jar and jd-gui to decompile an apk, and I get the classes-dex2jar.jar successfully, but when I put it in the jd-gui, there is just one package (the dependency package) like...

Alternate method to reversing than reading smali code?

I am reversing an android app. I want to modify and rebuild it. I used APK Studio (which is pretty much a GUI version of apktool) to get the files inside the apk. Now reading smali code is very...

How to use a jar file obtained from apk conversion using dex2jar in another Android project?

I have an apk file of an android app, which I convert to a jar file using dex2jar. Now, I would like to use this jar file in another Android project. To do so, I use provided...

Decompiling .dart.snapshot into Dart source code

According to dart-lang/sdk: Starting in 1.21, the Dart VM also supports application snapshots, which include all the parsed classes and compiled code generated during a training run of a program. ...

Why does dex2jar create 50 identical errors

i run dex2jar but after finished it says there were 50 errors. All 50 error-files are the same and have in line two of the error-file: "java.lang.RuntimeException: can not merge I and Z". After...

Frida: Replace string literal in class method

I ran an APK through dex2jar and JD-GUI and found the class I'm interested in: public class RESTClient { .... private bdG.\u0269 \u02CB\u0971() { return (new...

Can't find native libraries used by apk on my phone

First of all, sorry for my english. This is not my native language. This is the first time I do something like that so i learn on the go. Context: I try to understand how the game I installed from...

Dex2jar issue: the src file is not a .dex file

I have a dex file I want to convert to a .jar file; it's 4.5MB, it starts with qh(null), its called classes.dex and I think it's valid. In my windows machine, when running dex2jar.bat on it I get...