Diego Marulanda
06/12/2020, 10:35 PMThis version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 4.2 or newer.
but I already have the latest version of canary installed, what should I do?Val Salamakha
06/13/2020, 3:06 AMDiego Marulanda
06/13/2020, 3:38 AMandroid {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
compileSdkVersion 28
defaultConfig {
applicationId "com.habitako.habitako"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion "${compose_version}"
kotlinCompilerVersion '1.3.70-dev-withExperimentalGoogleExtensions-20200424'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), '<http://proguard-rules.pro|proguard-rules.pro>'
}
}
kotlinOptions {
jvmTarget = '1.8'
}
}
Val Salamakha
06/13/2020, 3:50 AMandroid { compileSdkVersion 30
buildToolsVersion "30.0.0"
defaultConfig {
applicationId "....."
minSdkVersion 21
targetSdkVersion 30
Try to upgrade as above.