smali icon indicating copy to clipboard operation
smali copied to clipboard

Usage with Android Studio 3.x

Open riegaz opened this issue 6 years ago • 7 comments

How can I use this plugin with Android Studio 3.x Plugin installed APK decompiled Import decompiled files into project

But how do I debug it now on the emulator? Run/Debug configuration tells me "no module". How to make it work?

Thanks in advance!

riegaz avatar Apr 06 '18 18:04 riegaz

How did you import the disassembled code?

Per the instructions at https://github.com/JesusFreke/smali/wiki/smalidea, doing "import from existing sources" should work.

JesusFreke avatar Apr 06 '18 18:04 JesusFreke

" image

image

I select the main folder to import from:

apktool d lala.apk -o lala Import project folder "lala"

image

image

Then the Project Files view refreshes every 2 seconds, so that I can not mark anything as root. I tried to debug the module but receive the following error:

image

riegaz avatar Apr 06 '18 19:04 riegaz

Exactly the same happens for the IDEA community build 2018.01. Maybe someone could tell me what I do wrong. Android Studio 2.3.3 shows the same error.

Any ideas?

riegaz avatar Apr 07 '18 07:04 riegaz

I think there is a couple of reports about this refresh thing and I experience the same thing.

I don't know exactly what is going on, but it would be interesting to solve it.

drake-mer avatar Jun 10 '18 13:06 drake-mer

When this happens I usuall recreate the project with « import from existing source », this is straightforward and it fixed my problem.

drake-mer avatar Jun 30 '18 20:06 drake-mer

Maybe this ticket can be close ?

drake-mer avatar Jun 30 '18 20:06 drake-mer

I recreated the project like 10 times without any change on different versions of the IDEA community.

I gave up on it but I think the issue should stay open as long as there is an issue, right?

riegaz avatar Jun 30 '18 20:06 riegaz