I found a very strange problem using a library (coded in Java, bundled as an AAR and included through Gradle) in an Android project. This lib has a very simple static method, and this method is accessible when I call it from a Java class, but it is not accessible from my Kotlin code.
Actually if I downgrade the library version, this method is accessible. The only change I notice (by decompiling the both versions) is that the method is
public static final
on the last version and
public static
.
Have you ever encountered this kind of problem?