What environment do we need? (Beginner version)
1. Java jdk: First of all, we have to understand that Android is an application developed based on the java language, which relies on the jdk environment of java during development, so it also needs to be used when doing reverse engineering.
2. Decompilation tools: At present, Android reverse engineering tools are gradually mature, but for novices, I still recommend easier decompilation tools, such as ApkIDE (modified rationale) and Android killer, both of which are integrated There are many functions. For a simple apk, only one tool can be used to complete the modification.
Where can I download these tools?
1: java jdk: You can visit the official website of Oracle to download.
Choose the 32-bit version or the 64-bit version according to your needs
After the download is complete, it is installed. I will not introduce the installation method. The conventional windows program installation method, keep clicking the next step and it is ok. Note that the installation window of the re operating environment will pop up during installation, and it can also be installed together.
2. Download the decompilation tool: I will not guide you to the official website to download it. You can download the corresponding toolkit directly here.
After the decompilation tool is downloaded, unzip it and use it. After the tools have been downloaded, we need to set up the jdk development environment, and follow me for details.
1: First, right-click the computer, click Properties, and then click the “Advanced” button to come to the environment variable option.
After coming to the environment variables, we click the “New” button in the system variables below, as shown in the figure
We need to add three parameters to the system variables: JAVA HOME, CLASSPATH and path, see the picture below
So how do we fill in the details? Look at the following example:
CLASSPATH—.; %JAVA_HOME%\lib\dt. jar;%JAVA_HOME%\lib\tools. jar;
Path—;%JAVA_HOME%\ bin;%JAVA _HOME%\jre\ bin;
Except for the first one, the other two can be copied directly. Then how should I fill in the first one, see the picture below:
We find the jdk installation path, which is mine, and then set this path to the parameter value of JAVA_HOME.
The third parameter path already exists, and now we want to insert a new parameter after the existing parameter value, we need to add; (note that it is in English). In the example I have added “;”, after all the settings are completed, click OK. After the configuration is complete, we also need to verify it, are we all configured correctly?
Open cmd, enter java-version, if the content of the figure below is displayed correctly, it means the configuration is successful!
Does it have to be so troublesome to configure the environment? Of course not. We have prepared an integrated toolkit for everyone. You can complete the above steps with a few simple clicks. click here to download.
Here is a one-click configuration software for the java environment. You only need to select the installation directory to successfully configure it.