Android Studio – Trying to read a text file using application.assets – gives "Unresolved reference"
I'm new to Kotlin and trying to read a text file in my app. I've been trying all the suggestions I can find without success. I've put a text file in assets and I've tried val resultLines = application.assets.open("myLines.txt").readLines() but…