In the following commit for cert4android
, you removed the annotation @JvmStatic
from the method CustomCertManager.resetCertificates(Context)
:
https://gitlab.com/bitfireAT/cert4android/commit/c52e83951026edf6de37eb6f3ce36deb6d6c670b
Since then, I can’t call that method from my Java code anymore. For my IDE (Android Studio), the method doesn’t exist. After re-adding the annotation, everything works again.
Was this really intended? If yes: how to reset the user-certificates then?
Thanks!
By the way: I’m getting also some warning from the compiler, since your builde.gradle
uses some deprecated configurations:
Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation' and 'androidTestApi'.
Configuration 'androidTestApi' is obsolete and has been replaced with 'androidTestImplementation'.
Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'.
Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'.