I also Got the same issue . Kotlin not configured and No configured available
gradle : -
buildscript {
ext.kotlin_version = '1.1.4-2’
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3’
classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.7”
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply plugin: 'kotlin’
allprojects {
repositories {
jcenter()
}
}
/task clean(type: Delete) {
delete rootProject.buildDir
}/
repositories {
mavenCentral()
}
dependencies {
compile “org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version”
}
compileKotlin {
kotlinOptions {
jvmTarget = “1.8”
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = “1.8”
}
}
gradle:app:-
apply plugin: 'com.android.application’
apply plugin: ‘kotlin-android’
android {
compileSdkVersion 25
buildToolsVersion “26.0.1”
defaultConfig {
applicationId “com.example.aksin.kotlincalculator”
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName “1.0”
testInstrumentationRunner “android.support.test.runner.AndroidJUnitRunner”
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’
}
}
}
dependencies {
compile fileTree(dir: ‘libs’, include: [’*.jar’])
androidTestCompile(‘com.android.support.test.espresso:espresso-core:2.2.2’, {
exclude group: ‘com.android.support’, module: ‘support-annotations’
})
compile 'com.android.support:appcompat-v7:25.3.1’
compile 'com.android.support.constraint:constraint-layout:1.0.2’
testCompile ‘junit:junit:4.12’
}
plz help anyone I am new to kotlin