So today we will try to decode the https packet and debug with IDEA.
You need to redirect the traffic through the fiddler. So the key point here is you can install the fiddler’s certificate and then you can decode those https packet.
Click here to install the certificate. After that, you are able to see those Https traffic now.
For IDEA debugging, make sure you install the smalidea plugin. Install the apk in the emulator and start it in the adb. Let’s say you want to debug it at the beginning of the program.
The app’s name should be com.sfbest.mapp. And the module name is module/guide/GuideActivity. You can start it in the adb like this.
Now, import the project to IDEA. Make sure you disassemble the apk so you know the path of the smali file. Also make sure that you add this piece of code in the .xml file otherwise you won’t be able to debug the app.
Then open the ddms.
See that 8700 port.
Go to run-> Edit configuration and set the port to 8700. And just run it. You can set breakpoints and see those variables.
So yeah, any question please contact me firstname.lastname@example.org