So having used one of the default templates in android studio I added a couple of imports and hit the error "unresolved reference" on preference and android.
Unsure if it was a minSdk issue I bumped the minSdk to 25 in build.gradle and re-synced it, still the same issue.
Any ideas anyone ?
