1. First, select the tool. The tool is AndroidStudio, a common development tool, and then install a plug-in smalidea.
2. Then decompile the APK to be debugged and import the project after decompilation.
3. For the imported file directory, edit the project and right-click the project directory.
4. Set the remote debugging option, take the link name at will, and it is not recommended to change the default port number.
5. Execute the command to establish the mapping between the debugging tool and the mobile phone.
6. Modify in the decompiled file directory to make the application debuggable.
7. Compile after modification, generate Apk, install it on the mobile phone, and start running.