What's included in the APK
Using Apktool to directly decompile the APK
Well, anyway, it's an unusual report anyway. Some people say that the version of Apktool is not the latest cause, I also rarely to find out why, before such direct anti-compilation is just that.
Use Dex2jar to turn the Dex file extracted from the APK into a jar package
Use Jd-gui to view the contents of a jar package
Copy the class change code that will need to be changed to inside the jar to complete the overwrite substitution
Turn the jar package back into a dex file
Copy the modified Dex file to the original apk file
Overwrite the original Dex file directly
And then excitedly went directly to the installation, however ~
It seems that it is not so simple can be a fix, continue to troubleshoot the cause.
Sex Hey, shh, find out why.
See what suspicious objects in the APK file have caused the installation to fail, and sure enough, in addition to Dex and the resource files, three files were found
The original is the APK package itself, the anti-tampering mechanism caused by
Open the file to find out, and sure enough, it was in the packaging when the file is identified, it seems that this is to avoid tampering with the security mechanism.
Find the problem, fix it, have sex.
Consider that since these files are the result, try to delete the file directly, and avoid tamper checking.
However, this is not possible, you must have this folder to resolve the APK package, which may be equivalent to reading the list of installation files, must have, it seems blocked,
Since the original list content is not right, but can not provide, then we will give it a new one?
Think of here, feel can try, sex sex ~
Since these files are automatically generated during the compile-and-pack apk period, you will need to re-pack them if you want to generate a new copy. But this is already an apk file, how to compile packaging?
Stopped to think about, yes, suddenly remembered to be able to sign the package name Bai, dozen signature should also have the same effect just right, continue to have sex sex.
Find a tool to sign, with their own signature to leave something bad record is not good, hey ~
After the signature is successful
Successfully installed, cracked complete
Android re-packaging after decompile