https://kotlinlang.org logo
#android
Title
# android
i

iex

05/02/2019, 11:54 PM
this isn't working
Copy code
-assumenosideeffects class mypackage.Log {
    public static void v(...);
    public static void d(...);
    public static void i(...);
}
and can't apparently get kotlin syntax working
k

Katya Yurukova

05/03/2019, 4:33 AM
You have instance methods in the interface, try removing the
static
keyword from the proguard rules
i

iex

05/03/2019, 7:31 PM
doesn't seem to work. It does nothing
don't I need Kotlin specific syntax? 🤔
a

acando86

05/09/2019, 9:48 PM
proguard works at bytecode level, so nothing kotlin related here. probably it's not working because Log is an interface, not a class. try to assumenosideeffects
interface
rather than class. also, remove
static
as said above.
6 Views