Discover jar to apk file converter, include the articles, news, trends, analysis and practical advice about jar to apk file converter on alibabacloud.com
Classes.dex in the apk into a jar file.Jd-gui: The Anti-compilation tool allows you to view the source code of the jar package directly.Apktool: The anti-compilation tool can be viewed directly by deserializing the APK in the XML file.Apktool-install-windows-r05-ibot: Secondary Windows Batch processing tool.:Dex2jar:h
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
While learning how to program, it is inevitable to turn to reverse engineering, to learn the way that how others solve problem. there is no exception when learning development on Android platform. here we talk about three mainMethods to decompile an APK file.Android-apktool
Where to get:
1.Official Website
How to use:
Dowload the apktool.bz2 and decompress it with Bzip2 (might be other format, never mind)
#bzip2 -d apktool.bz
1. smali-1.2.6.jar
Purpose: Convert the. smali file to the classes. Dex file.
Note: The. smali file, similar to the. Class file, can be viewed and modified in a common text editor.
Example: command line:Java-jar smali.
dex2jar. sh in the terminal and runSh dex2jar. sh classes. dexYou can generate classes. dex. dex2jar. jar
3. Run the JD-GUI tool (it is green without installation)
Open the jar File above and you will see the source code
========================================================== =2. decompile the source code and images, XML configuration, language resources, and
Posted 3 years ago (2012-08-13 16:50) Read (9359) | comments (2) 8 People collection This article, I want to collect likes5Mu-NET, programmer promotion raise pay artifact, click Free to learnAPK anti-compilation view *.java androidmanifest.xml layout XML fileThis is useful for not using jockey to confuse code! One, decompile apk get java source code First to download two tools: dex2jar and jd-gui The former converts the Class
page: http://t.sina.com.cn/mobile/android.phpThe following is the configuration of the various file name suffixes in Nginx mime.types:Text/vnd.sun.j2me.app-descriptor Jad;application/java-archive jar War Ear;Application/x-java-archive-diff Jardiff;Application/vnd.android.package-archive apk;Application/vnd.ms-cab-compressed cab;Application/octet-stream bin EXE d
The corresponding location of the Conf/mime.types file under the Apache installation directory, plus the following line of statements, specifies that the MIME type of the APK file is application/vnd.android.package-archive:
The code is as follows
Copy Code
Application/vnd.android.package-archive a
Download Apktool_2.0.1.jar (all files are available for download at the bottom of the package article): http://ibotpeaches.github.io/apktool/Apktool.bat@echo off if " %path_base% " "" Set path_base=%path%set path=%cd%;%path_base%"%~dp0\apktool.jar" % 1 %2 3 %4 5 %6 %7 % 8 9 Execute command (cmd to the directory in which it resides)123. apkDecrypt source code1. Unzip the apk
First, use Apktool apk to decompile the source code of the generator and pictures, XML configuration, language resources and other filesSpecific steps:(1) Download the Anti-compilation toolkit: Apktool official can't openThere is a download in http://apktool.shoujifans.com/2014/12/21.htmlNeed to download two files below
apktool1.5.2.tar.bz2
apktool-install-linux-r05-ibot.tar.bz2
(2) Unzip the downloaded two packages into the "Same" f
:
.; % JAVA_HOME % \ lib \ tools. jar; % JAVA_HOME % \ lib \ dt. jar; % JAVA_HOME % \ bin
(Do not drop the previous point.) The relative path is used here, so you can copy my point and click OK;
Find an existing system variable Path and edit its value. Do not change the original content. Add
; C: \ Program Files (x86) \ Java \ jdk1.7.0 _ 10 \ bin
(Note that this is based on your java_jdk. It must be the sam
APK file cracking visible source code
1. Get the resource image of APK
Open it directly with WinRAR, and drag Res/drawable directly.
2. Get XML file information
Although you can use WinRAR to view the XML file, the XML file is
What is an APK file? What is the relationship between him and Android phones?
APK is the abbreviation of Android package, that is, the android installation package. APK is a file format similar to Symbian sis Or sisx. Directly upload the
the unsigned APK Installation File in ant and command lines.7. In Step 7, sign the unsigned APK to generate the signed Android file: ant and the command line use JDK's jarsigner to sign the unsigned package.8. In Step 8, install and uninstall the APK
default file ". KeyStore" is created in the user's home directory, and a MyKey alias is generated, MyKey contains the user's public key, private key, and certificate-alias Generating aliases-keyalg the algorithm that specifies the key-validity specifies how many days to create a certificate validity period-keystore Specifies the name of the KeyStore (the resulting types of information will not be in the. keystore
/icon_return.pngSigning: Res/drawable/icon_right.pngSigning: Res/drawable/icon_set.pngSigning: Res/drawable/icon_text.pngSigning: Res/drawable/icon_xin.pngSigning: Res/layout/fileitem.xmlSigning: Res/layout/filelist.xmlSigning: Res/layout/main.xmlSigning: Res/layout/widget.xmlSigning: Res/xml/widget_info.xmlSigning: Androidmanifest.xmlSigning: RESOURCES.ARSCSigning: Classes.dex Figure 2 ==================================================== In running this way, I have encountered several differen
APK file itself is a compressed package, directly with the decompression tool can be opened, but the inside of the file has been encoded into a binary file format, can not directly see, such as the program description file Androidmanifest.xml. These files can be decoded and
How to Use unity3d to publish an Android apk file is absolutely fine. unity3dapk
1. First of all. Is necessary software tools. Needless to say, unity3d is necessary (think it's not nonsense ). Then. We have some running environments. Java (jdk). Android simulator (sdk) [Of course you have a real machine]. You can download these files from the Internet.Here I will provide you with an Android simulat
):
Figure 1
Ii. Generate a signed APK File
Enter the changebackgroundwidget.apk file, and the final generated changebackgroundwidget_signed.apk is the APK execution file signed by Android.Enter the following command line:
Jarsigner-verbose-keystore changeba
. Generate a signed apk File
Enter the changebackgroundwidget.apk file, and the final generated changebackgroundwidget_signed.apk is the APK execution file signed by Android.Enter the following command line:
Jarsigner-verbose-keystore ChangeBackgroundWidget. keystore-signedj
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.