8 lines
632 B
Plaintext
8 lines
632 B
Plaintext
Api level 26 (or whatever the minsdkver of the apk is) is necessary to be specified to smali.jar, or else it will use 15, which is quite old
|
|
and is sure not to work.
|
|
|
|
I got the latest 3.0.5 by cloning Google's fork (https://github.com/google/smali) and building it with gradle (./gradlew build)
|
|
I built it on Arch (via gradle build, because gradlew kept complaining about jdk in /usr/lib/jvm/java17-openjdk despite there being one)
|
|
because on Windows it would complain about some ANTLR grammar parsing..... for some reason.
|
|
|
|
Anyway, that's how i did it. But I used the fat jar, and renamed it accordingly (the dirty fat one.) |