hi, I get that `This version of the Android Suppor...
# compose
d
hi, I get that
This 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?
v
What is your project setting?
d
Copy code
android {
    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'
    }

}
v
Copy code
android {                                                  compileSdkVersion 30
buildToolsVersion "30.0.0"

defaultConfig {
    applicationId "....."
    minSdkVersion 21
    targetSdkVersion 30
Try to upgrade as above.