Unresolved reference: v7

When I run the app it crashes on error:
C: \ Kotlin-projects \ Exercise2 \ app \ src \ main \ java \ en \ example \ exercise2 \ MainActivity.kt: (3, 24): Unresolved reference: v7
I have imported:
import android.support.v7.app.AppCompatActivity
Anyone advise?

Ondrej

Nothing to do with kotlin. Please refer to your favorite android tutorials and seek sections about dependency management.

2 Likes