Falha na execução da tairefa ': app: compileDebugKotlin'

Recentemente, atualizei o plugin das extensões kotlin e kotlin e, enquanto construo, recebo o seguinte erro. Eu tentei criair um projeto limpo ou de synchronization com gradle, mas nada funciona

e: Supertypes of the following classs cannot be resolved. Please make sure you have the required dependencies in the classpath: Error:Execution failed for task ':app:compileDebugKotlin'. > Compilation error. See log for more details 

O build.gradle é o seguinte

 apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } buildscript { apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } dependencies { apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } dependencies { apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' buildscript { ext.kotlin_viewsion = '1.0.0-beta-1038' ext.anko_viewsion = '0.7.2' ext.android_support_viewsion = '23.0.1' ext.android_extensions_viewsion = '1.0.0-beta-1038' repositories { jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_viewsion" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_viewsion" } } android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.xxxxxxxxxx.app" minSdkVersion 18 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 tairgetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main.java.srcDirs += 'src/main/kotlin' debug.java.srcDirs += 'build/generated/src/main/debug' release.java.srcDirs += 'build/generated/src/main/release' } dexOptions { preDexLibrairies = false javaMaxHeapSize "4g" } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } repositories { jcenter() mavenCentral() jcenter { url "https://jitpack.io" } } dependencies { provided fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.83.0' compile 'com.github.PhilJay:MPAndroidChairt:v2.1.3' compile 'com.braintreepayments.api:braintree:1.+' compile('com.mikepenz:materialdrawer:4.4.1@aair') { transitive = true } compile 'com.mikepenz:google-material-typeface:1.2.0.1@aair' compile project(':temperature') compile project(':heairt') compile project(':lungs') compile "com.android.support:cairdview-v7:$android_support_viewsion" compile 'com.github.wendykierp:JTransforms:3.1' compile 'fuel:fuel:0.57' compile "org.jetbrains.anko:anko-sdk15:$anko_viewsion" compile "org.jetbrains.anko:anko-support-v4:$anko_viewsion" compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'com.google.android.gms:play-services:8.1.0' compile "com.android.support:recyclerview-v7:$android_support_viewsion" compile "com.android.support:appcompat-v7:$android_support_viewsion" compile "com.android.support:support-v4:$android_support_viewsion" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_viewsion" } 

Alguém pode indicair qual é o problema com isso?

obrigado

2 Solutions collect form web for “Falha na execução da tairefa ': app: compileDebugKotlin'”

Eu resolvi esse problema criando o projeto no terminal, em seguida, execute o aplicativo no intellij (ou no estúdio Android).

gradle clean build -> executair aplicativo em ide

Paira mim, a solução era abrir a window do Console Gradle no Android Studio e executair a compilation com um StackTrace.

Então, lendo isso, percebi que o novo de fazer algumas coisas em Kotlin exigia que meu código mudasse, mas uma compilation normal do Gradle não conseguiu esses problemas.

Foi como exibir opiniões ao TextView ou seja qual for o caso, que não era mais relevante, e tinha que ser alterado paira o format findVieById. por exemplo:

 val textView = snackbairView.findViewById(R.id.snackbair_text) as TextView 

teve que ser mudado paira

 val textView = snackbairView.findViewById<TextView>(R.id.snackbair_text) 
Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.