Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Today, according to their own experience to summarize the APK package of Android and advertising to make money, the following is an introduction to Android APK package reverse-compiling process and considerations.
In fact, apk decompile is not a new topic, online on the issue of Decompile has a lot of content. This article mainly is the author unifies own actual experience to generalize:
1, the environment constructs
First need to build a Java environment, on the specific construction methods and environment variables configuration, as long as the use of search engines can be found on the Baidu method, this text omitted. It is worth noting that the choice of the JDK with their own machine, your machine is 32 or 64-bit should know how to view it, such as Win7 system can use the computer-attribute-system type to view. In addition to the installation of the JDK after the configuration of environment variables, if not successful, please note that the English state of the space, punctuation content do not lose the wrong.
2. Download the Decompile tool
The current decompile tool is not limited to one, the author uses is apktool, please download to the local decompression installation. The way to verify success is CMD carriage return, if your Apktool tool is in D, follow this step: cmd-knock D-Carriage-enter CD Apktool, navigate to Apktool folder, enter Apktool if the following page appears ok.
3, decompile apk
For example, in the D Disk Apktool folder has a apk file test.apk to be decompile, you can follow this step to decompile: Navigate to D disk, then use the CD to navigate to the Apktool folder, use the Apktool d command to extract the APK packet, that is, Apktool D TEST.APK, the following interface appears to indicate decompression:
Decompression time depending on the size of this APK package, after the successful decompression will be in the D-Disk Apktool folder a test folder, open will find a assets, res folder.
4, add advertising code
According to the advertising code of different websites to provide the SDK guidance documents to modify the corresponding file to save, different advertising platform operation methods will be different, so omit this content, you can ask to add ads to the site customer service.
5, two times packaging
After you add the ad code, you can now package two times, the same is done in cmd Packaging command: Apktool B Test (test is the reverse compilation of the folder name), after the package is completed will find a dist folder, Opening will find a test.apk file, which is the apk file that was added to the ad.
6. Signature
APK Signature method is also more, such as Dodo apksign tools, and so on, their own Baidu can, the operation is simple, this omitted. The signature can be installed on the Android device.
7. Publish and popularize
All of the above work is basic work, the most important is to allow more users to download the APK file, the promotion of a lot of methods, the first choice is to enter the market channels, you can also refer to the application before the article: app promotion of the general method Rollup.
This article applies push (Www.apktui.com) original first, any form of reprint, adaptation must indicate the source.