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