简体   繁体   中英

Smalidea plugin in Android Studio

I deal with Android reverse engineering at my school. I want to try this plugin: https://github.com/JesusFreke/smali/wiki/smalidea

I use the last version of A.studio and Win7. I went with the guide on Github (Debugging an application) up to point 5. I can't do point 6, because I don't have any running configuration in the IDE. I have tried to create the configuration, but then I received an error: no module specified. I am not sure if I understand it well, should I run the application from studio of from the phone?

For step 6, "Install/start the application on the device", you manually install the apk and run it on the device. Eg "adb install my.apk", and then launch the apk by opening it from the launcher.

Once the application is running on the device, you can select the application in ddms/android monitor, which will associate port 8700 on your local computer with that application.

Once you've done that, go back into IDEA and create a new run configuration of type "remote". ie run->edit configurations, and then click the "+" icon in the top left, and choose remote. The default configuration should be fine, just make sure you change the port to 8700.

Now you should be able to start debugging (ie run->debug)

@JesusFreke, Thank for such a great plugin.

The process described above by the author works great. But, you can also use uniquely assigned port for each application instead of using the shared debugging port 8700 .

I have described the settings up and debugging process in details in my blog post . So feel free to visit it and in case you have any troubles, let me know as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM