What does “Failure [INSTALL_FAILED_OLDER_SDK]” mean in Android Studio?

后端 未结 14 1610
滥情空心
滥情空心 2020-12-09 01:26

I got this Froyo (2.2) device that I am using to make an app. When I try to run the app directly to the device it shows an error saying

pkg:         


        
14条回答
  •  我在风中等你
    2020-12-09 02:02

    Fix your gradle file the following way

    defaultConfig {
        applicationId "package.com.app"
        minSdkVersion 8 //this should be lower than your device
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
    }
    

提交回复
热议问题