问题
Is it possible to decompile an APK or DEX file file on Android platform? Are there any tools that can decompile an APK file?
回答1:
You need Three Tools to decompile an APK
file.
Dex2jar - Tools to work with android .dex and java .class files
ApkTool - A tool for reverse engineering Android apk files
JD-GUI - Java Decompiler is a tools to decompile and analyze Java 5 “byte code” and the later versions.
for more how-to-use-dextojar. Hope this will help You and all! :)
回答2:
Online APK Decompiler
http://www.decompileandroid.com/
http://www.javadecompilers.com/
APK Decompiler App for Windows
http://forum.xda-developers.com/showthread.php?t=2493107
Update 2015/12/04
ClassyShark you can open APK/Zip/Class/Jar files and analyze their contents.
https://github.com/google/android-classyshark
回答3:
I have created a tool that combines dex2jar, jd-core and apktool: https://github.com/dirkvranckaert/AndroidDecompiler Just checkout the project locally and run the script as documented and you'll get all the resources and sources decompiled.
回答4:
An APK is just in zip
format. You can unzip it like any other .zip
file.
You can decompile .dex
files using the dexdump
tool, which is provided in the Android SDK.
See https://stackoverflow.com/a/7750547/116938 for more dex info.
回答5:
http://www.decompileandroid.com/
This website will decompile the code embedded in APK files and extract all the other assets in the file.
回答6:
You can decompile an apk on Android device using this : https://play.google.com/store/apps/details?id=com.njlabs.showjava
For more info look here: http://forum.xda-developers.com/showthread.php?t=2601315
EDIT: 28-02-2015
For decompiling an apk you can use this tool: https://apkstudio.codeplex.com/license
If that doesnt help check this link
回答7:
You can also use the apktool: http://ibotpeaches.github.io/Apktool/ which will also give you the xml res files. Along with that you can also use the dex2jar system which will output the dex file in the apk to a jar file that can be opened with JD-GUI and exported to standard java files.
回答8:
Also you can use Android Multitool. You can make minor changes in the app like hiding GUI elements or modifying small part of Logic and rebuild the apk. Its easy to use and decompile/recompile apk and jar files. Here is the Link you can checkout.
Cheers
来源:https://stackoverflow.com/questions/21010367/how-to-decompile-an-apk-or-dex-file-on-android-platform