Application debugging in Android refers to the process of identifying and resolving issues or errors in an Android application. Debugging is an essential step in the development process and helps developers ensure that their application is functioning correctly and efficiently.
There are two ways to do this:
Using Root Access
You can do this with using GDB.
Adding debuggable="true" in android manifest.
<application
android:name=".MyApplication"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:debuggable="true">
...
</application>
First, you need to make the application debuggable by adding android:debuggable="true" in application manifest.
Next make sure you check the Wait for debugger in Developer Options and select your target app in Select Debug App option.
In the next step open the target apk file with jadx-gui. Then enter this command:
adb kill-server
Then: