(Note: all of the following operations are based on the 32-bit Nighter simulator.)
1. Select a proper server file for communication
First copy DBGSRV from IDA directory to emulator directory (note whether the emulator version is 64-bit or 32-bit, if it is 32-bit, then select Android_x86_server)
2. Copy and modify server files
Push IDA’s server configuration file to /data/local/ TMP in the emulator with the adb command, then change permissions on the file, and then run the file.
Nox_adb Push D:\11\android_x86_server /data/local/ TMP
2.2 Entering the Shell Environment: run nox_adb shell
2.3 Switching to CD /data/local/ TMP
2.4 Modifying file Permissions chmod 777 Android_x86_server
2.5 Executing the file command:./android_x86_server
3. Perform port forwarding
Command: nox_adb forward TCP :23946 TCP :23946
4. Start the IDA debugger (since the IDA configuration file is 32-bit, start the IDA 32-bit program as well)
4.1 Additional Steps
Debugger->attach->remote linux debuger
4.2 Select the App you want to debug
After the above operation, you can complete the specific operation function for IDA application debugging.