
Run the application and select the process of the application in DDMS.ĥ. Place a breakpoint where you need it in the smali code.Ĥ. bat in the Android SDK/tools directory to open DDMS.Ĭreate a "Remote" debug configuration (Run-> Edit Configurations) and set PZ Configurations? Http://"target =" _ blank "class =" keylink "> vcnTOqjg3MDChoyA8YnI + cjxpbwcgc3jjjpq =" "alt =" here write picture description "title =" \ ">ģ. After the project is successfully created, right-click the src Directory and choose "Mark Directory As - Sources Root ".Īfter the project is successfully created, you cannot click the Android Device Monitor button because it is not a complete Android project. Java-jar baksmali-2.1.2.jar myapp.apk-o./projects/myapp/srcĢ. Run the following command to obtain the smali code of the apk, in the./projects/myapp/src directory. Use baksmali to decompile the apk to get the smali code. Select the downloaded smalidea-0.03.zip file. Open Android Studio, press Alt + Ctrl + S to open the setting interface, and click Plugins - Install plugin from disk. Here I use Android Studio of Version 2.0, and the IDEA operation is similar.ĭownload the three files from the preceding address.ġ.



Android Studio is also supported if it is based on IDEA of version 14.1 or later. Smalidea supports IDEA of version 14.1 or later. Smalidea is an IntelliJ IDEA/Android Studio smali language plug-in that enables dynamic debugging of smali code. Smalidea + IntelliJ IDEA/Android Studio dynamic debugging Android app tutorial
