How to fix Unresolved reference

So after using the code examples from the Android development website when i tried running it in my Code i got an error or warning saying Unresolved reference can this be ignored or is there a way to fix it

My Code is

fun main() {
    private val vc: ViewConfiguration = ViewConfiguration.get(context)
		private val mSlop: Int = vc.scaledTouchSlop
			private val mMinFlingVelocity: Int = vc.scaledMinimumFlingVelocity
				private val mMaxFlingVelocity: Int = vc.scaledMaximumFlingVelocity
}