Why does the XML in the APK not be opened directly, or is it simply a binary file that is encrypted? Why AXMLPrinter2 Anti-compilation when unexpectedly error, how to solve?java.lang.arrayindexoutofboundsexception:128 at Android.content.res.StringBlock.getShort (Stringblock.java : 231) at android.content.res.StringBlock.getString (stringblock.java:91) at Android.content.res.AXmlResourceParser.getName
Why does the XML in the APK not be opened directly, or is it simply a binary file that is encrypted? Why AXMLPrinter2 Anti-compilation when unexpectedly error, how to solve? java.lang.arrayindexoutofboundsexception:128 at Android.content.res.StringBlock.getShort (Stringblock.java : 231) at android.content.res.StringBlock.getString (stringblock.java:91) at Android.content.res.AXmlResourceParser.getNam
We do Android development, see others application of some good features, is not very want to get the source code, for reference? Since Android is developed in Java, we can easily decompile the source code to the application. Let me briefly explain how it should be done.Specific steps:1. First change the apk file suffix to rar and unzip.2. Unzip the RAR file and get the Classes.dex file3. We need to use Dex2jar to convert the Dex file to a jar file.3.1
Using Apktool to decompile the APK, and then compile back, found that the installation is not normal, and use ApkToolKitV3.0 decompile, and then compile back to the normal installation.The main reason is because the Apktool is compiled back with no signature. So can't install, and ApkToolKitV3.0 compiled back is signed.After compiling with Apktool, you can use Signapk.jar signature again.Java-jar Signapk.jar Testkey.x509.pem testkey.pk8 test.apk test-
First, the tool preparation:1.dex2jar:http://code.google.com/p/dex2jar/downloads/list2.jd-gui:windows:http://laichao.googlecode.com/files/jdgui.zipLINUX:http://laichao.googlecode.com/files/jd-gui-0.3.2.linux.i686.tar.gzSecond, the operation steps:(1) change. apk to. zip, unzip, find Classes.dex(2) Copy the Classes.dex to the Dex2jar.bat directory. Drag Classes.dex into run dex2jar.bat to generate Class.dex.dex2jar.jar(3) Run the Jd-gui and open the ja
Short cut, let's go straight to the subject.Cut the two files in the apktool-install-windows-r05-ibot file to the apktool1.5.1 directory.Create a new folder to put in the APK application that needs to be cracked.Open cmd input in this folder Apktool display the following information before you can use.Apktool d Application Path decompression pathThe post-compilation code is as follows.Res is some picture files can be modified, the program code changes
-keystore xx.keystore-signedjar-pkg.apk pkg1.apk Xx.keystore, also did not say each parameter what meaning, uses the time is always wrong, has been engaged for a while to succeed.The following commands are explained below:JARSIGNER:JDK under a tool, suffix exe-verbose: Output Details-keystore: Secret key file-signedjar: Signature file, the first parameter is a signed file, equivalent to the output file, the second is an unsigned file, input file. bega
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.