Search code examples
javaandroidrun-app

Android Studio cant run minsdk


Hi i have this problem with my android project how to fix

minSdk(API22) > device Sdk(API21)

https://i.sstatic.net/plJR6.png


Solution

  • In your app build.gradle file

    android {
        defaultConfig {
            minSdkVersion 22 /* this defines the lowest API level your app can run on */
        }
    }
    

    Please note, as you decrease this number some features might become unavailable.