Beauty scissors, cracked, hemp is no longer worried about the inside of a single game to buy

Source: Internet
Author: User

1. First get an apk, decompile it

Rename to Xxx.zip decompression, put the extracted classes.dex to Dex2jar to decompile

Anti-compilation Method:

CMD under CD to e:\ android \ Android Anti-compile directory execution Dex2jar.bat Classes.dex done will generate Classes_dex2jar.jar

2. Open the file with Jd-gui

Get the following code

3. Looking for key points, this time the main solution is in-game in the purchase, found in the game click on the purchase will prompt "Unable to connect to pay service, please try again later!"

Search to locate code

At a glance, buy here there is a switch, completely point out that should not be changed from here, because here, if the deduction of the conditions are correct, still will be deducted fees.

4. There is no time to continue to follow up, changed the card of the machine's tips, the inability to verify your payment here to change the case to the same as the purchase success

Tutorial:

Above this method temporarily did not find back to compile method, you go to Baidu ...

Now find the back-to-compile method as follows:

Drag the apk file onto this to process and generate a folder named APK name

The contents of the folder are mainly these

Smali is all the source code

Let's change the source.

Find this class first

Text File Open

This language is called Smali, .... I've never learned to read it completely.

Search keywords:

OnPostExecute

Copy the purchase success here, replace the above Pswitch.

and then save

Then back to compile, the way to compile is to drag the folder to

It will automatically form an apk and then sign it. Signature Method Baidu Bar

Beauty scissors, cracked, hemp is no longer worried about the inside of a single game to buy

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.