Why is argMax still an unresolved reference? (Android Studio)

Hello, I’m tearing my hair out because of this seemingly impossible interaction:

I am trying to use the Math.argMax() function from multik, seems simple enough right?

https://imgur.com/a/FB6XEzg

I add the dependencies, import the function. Except when I actually use it, it keeps saying it’s an unresolved reference and even suggests I import it. Except importing does nothing because…. it’s already imported. The import is even lit up meaning Android Studio knows it’s being used but still identifies it as an unresolved reference??

I’ve tried deleting my .idea and app/build folders as well as resyncing gradle files, cleaning project, etc.

Any ideas?

submitted by /u/Fermooto
[link] [comments]