There is an answer and you don't need to go though that horrid process to download software, install and register keys and whatnot on GitHub, etc.! To simply download a repository as a zip file: add the extra path '/zipball/master/' to the end of the repository URL and voila, it gives you a zip file of the whole lot. Unpack ? your JS source maps ? to original files and folders. pavloko/source-map-unpack. Unpack ? your JS source maps ? to original files and folders. pavloko/source-map-unpack. If nothing happens, download the GitHub extension for Visual Studio and try again. Pavloko Update README. Latest commit 49de90a Mar 21, 2018.
Full Specifications What's new in version 1.5.0 build 1909Fixed support for Windows 2003 server and Windows Home Server (captionbuttons messing up),Added support for password protected files!
Simple way: use online tool, upload apk and get source code.Procedure for decoding.apk files, step-by-step method: Step 1:.Make a new folder and copy over the.apk file that you want to decode.Now rename the extension of this.apk file to.zip (e.g. Rename from filename.apk to filename.zip) and save it. Now you can access the classes.dex files, etc. At this stage you are able to see drawables but not xml and java files, so continue.Step 2:.Now extract this.zip file in the same folder (or NEW FOLDER).and extract it to the same folder (or NEW FOLDER).Move the classes.dex file into the dex2jar folder.Now open command prompt and change directory to that folder (or NEW FOLDER).
Then write d2j-dex2jar classes.dex (for mac terminal or ubuntu write./d2j-dex2jar.sh classes.dex) and press enter. You now have the classes.dex.dex2jar file in the same folder., double click on jd-gui, click on open file, and open classes.dex.dex2jar file from that folder: now you get class files.Save all of these class files (In jd-gui, click File - Save All Sources) by src name. At this stage you get the java source but the.xml files are still unreadable, so continue.Step 3:Now open another new folder.Put in the.apk file which you want to decode.Download the latest version of (both can be downloaded from the same link) and place them in the same folder.Open a command window.Now run command like apktool if framework-res.apk (if you don't have it )and next.apktool d myApp.apk (where myApp.apk denotes the filename that you want to decode)now you get a file folder in that folder and can easily read the apk's xml files.
Step 4:It's not any step, just copy contents of both folders(in this case, both new folders) to the single oneand enjoy the source code. This is an alternative description - just in case someone got stuck with the description above.
While you may be able to decompile your APK file, you will likely hit one big issue:it's not going to return the code you wrote. It is instead going to return whatever the compiler inlined, with variables given random names, as well as functions given random names. It could take significantly more time to try to decompile and restore it into the code you had, than it will be to start over.Sadly, things like this have killed many projects.For the future, I highly recommend learning a Version Control System, like CVS, SVN and git etc.and how to back it up. Apktool will work. You don't even need to know the keystore to extract the source code (which is a bit scary). The main downside is that the source is presented in Smali format instead of Java. Other files such as the icon and main.xml come through perfectly fine though and it may be worth your time to at least recover those.
Ultimately, you will most likely need to re-write your Java code from scratch.You can find apktool. Simply just download apktool and the appropriate helper (for Windows, Linux, or Mac OS). I recommend using a tool such as 7-zip to unpack them. There are a few ways to do this:.Use the 'Profile or Debug APK' feature in Android Studio 3.0.It allows you to open and explore APKs in Android Studio.
Classes are decompiled into smali. Resources are not extracted and things like 'Go to Definition', 'Find All References' and debugging don't work without the source code (android studio 3.0 canary 9). Some additional smali features might work with.Use.Jadx decompiles the code in a given APK to java source files.Use.Apktool is a command line tool which extracts resources and decompiles code into smali for a given apk. You can recompile using apktool also.