The anti-compilation of the apk under window is very simple, there are many integration tools, select the installation package and then you can build a tool to decompile the source files and the jar, and then use Jd-gui to view the source code, use a text editor to view the resource files. After changing the Mac has not found what to force the Anti-compilation to
This article tags: mac efficiency tools mac gadget caffeine amphetamine The MAC goes into hibernation after a period of inactivity. If you're having a black screen during a demo, or a sudden strike in a movie, it means that your Mac is sleepy, and like Keynote, drinking coffee and doping can make your
This text is mainly for Mac notebook anti-compilation apk tutorial, are the latest, the first need to list the tools:Apktool Dex2jar Jd-jui is the main 3 tools. Apktool function: Mainly used to decompile the XML file below Res. Dex2jar function: Mainly used to decompile apk view source code. Jd-jui function: View the Dex2jar back-compiled jar file. If the apk is confused, generally can only clear the view o
Before referring to the online great God introduced the APK for Mac anti-compilation article, which is written in very detailed and practical, but because the APK for Mac anti-compilation details are very cumbersome, the process is relatively complex, against this flaw in the process of its
-gui folder is opened, and the tool is opened before the Classes_dex2jar.jar file, you can see the source code, the effect is as follows:(The name of the class file and the name of the method inside will be a,b,c ...). Style naming).By decompile, you can learn about the third-party library files that the app uses, how the code is written, and so on. However, if the APK is obfuscated, then the name of the class file you see and the name of the method inside will be a,b,c .... Style naming, so y
1. IntroductionThis analysis is a very simple program, is a primer on the introduction of anti-compilation tutorialMainly learn about the use of tools, the following is downloaded from the Internet test samplesTest Sample ex_05_01_.apkLink: http://pan.baidu.com/s/1sjOIXJn Password: 5uq42. First, use Dex2jar and Jd-gui to viewReference: Android Learning Tips (8)---Mac Dex2jar and Jd-gui use先提取apk中的classes.de
directory for easy operationTerminal enters Dist directory, executes commandjarsigner -verbose -keystore [your_key_store_path] -signedjar [signed_apk_name] [usigned_apk_name] [your_key_store_alias] -digestalg SHA1 -sigalg MD5withRSAField Description:
[Your_key_store_path]: Absolute path where key is located
[Signed_apk_name]: Install package name after signing
[Usigned_apk_name]: Unsigned installation package name
[Your_key_store_alias]: Alias of key
Because we put the
can actually start to decompile and get the original file, using the following command./d2j-dex2jar.sh Classes.dexAs followsAfter executing the command, the current directory generates a Classes-dex2jar.jar file, which is the jar package of the resulting source file, and we will be the last step to get the jar package back to the Java file3,jd-gui getting Java source files is easy, you just need to open the Classes-dex2jar.jar generated in the previous step in Jd-gui. Generally we can get all t
preparatory work
Download the anti-compilation tool Apktool, Dex2jar
Jar View tool Jd-gui for Mac
: http://download.csdn.net/detail/linsen618/86682091. Decompile The resource file
Open the terminal CD to the directory that holds the Apktool (you can use LS to view the folders in the current directory, and then keep looking for CDs to APKTOOL)
Input chmod +x apktool
To decompile android apk on Mac OS system, the following 3 files need to be prepared first:1, apktool:https://ibotpeaches.github.io/apktool/install/2, Dex2jar:https://github.com/pxb1988/dex2jar3, jd-gui:http://jd.benow.caOnce downloaded, it's time to start our anti-compilation path:1, install Apktool: Will download the Apktool.jar and apktool.txt (may not download the name can be modified), apktool.txt need
1.http://jd.benow.ca/Open this site and findJd-eclipseChoose one of the ways to download him locally.2. Unzip to get some files, folders. Where the anti-compilation to use, the "features" folder under the Jar file; "Plugins" folder under the Jar file.3. Place the two jars in the corresponding features, plugins folder under the Eclipse installation folder.4. Restart Eclipse.5.eclipse->windows->perferences->general->editors->file Associations->*.class S
generated.At this point, your app can be installed and running properly on Android.Seven,zipalign, if your app needs to upload Googleplaystore, it must be aligned. Terminal command: ZIPALIGN-V 4 Enter the file name. apk output file name. apkViii. apktool Create Shortcut commandsAdd the export path= $PATH on the. bash_profile file:/usr/local/bin, and then put the three files obtained in the second step into the/usr/local/bin, and then the command line to enter Apktool to see if the successWelcom
Need tool: Apktool download Dex2jar download Jd-gui downloadThe Apktool is the layout and resource files that are compiled. Dex2jar compiled code bytecode, using the JD GUI to view the source code.1.apktool install 1) download Apktool, and Mac Apk-install-macosx 2) unzip the two files and copy the 3 files to the path. (Note that root permission is required) 3) use Apktool D xxx.apk to decompile and get a folder with the same name. There is the layout
Android Anti-compilation is handy now.Windows has a bad tool, of course I prefer dex2jar this is more useful, open his file directory will find that there are many. Sh. bat files That means you can use 1 under Windows or Mac. Dex2jar Direct Google search or from Http://code.google.com/p/dex2jarjd-gui direct Google search or from http://java.decompiler.free.fr 2. Using the terminal, Similar to the following
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.