title: Unresolved reference importing kotlinx.android and androidx.preference?
body: <p>So having used one of the default templates in android studio I added a couple of imports and hit the error &quot;unresolved reference&quot; on preference and android.</p>
  <p>Unsure if it was a minSdk issue I bumped the minSdk to 25 in build.gradle and re-synced it, still the same issue.</p>
  <p>Any ideas anyone ?</p>
  <p><a href="https://i.stack.imgur.com/D6hYk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D6hYk.png" alt="" /></a></p>