apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { compileSdkVersion 27 defaultConfig { applicationId "com.example.android.camera2video" minSdkVersion 24 targetSdkVersion 27 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation "com.android.support:appcompat-v7:27.0.2" implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" }