kotlin.Collections doesn't seem to be imported. "listOf" marked in red while in other proyect is working fine

Viewed 605

My problem is that I can't use the method "listOf" even I was using it a while ago. I don't know what I did. In other proyect the method is working fine. I suspected the issue was related with dependencies, but then I realized the method belongs to "kotlin.Collections" which belongs to Kotlin Standard Library and this library seems to be imported in the background.

Sorry for my english. Please help!

0 Answers
Related