Installation error: INSTALL_FAILED_OLDER_SDK

前端 未结 19 1693
太阳男子
太阳男子 2020-11-28 09:37

I am new to Android development and I want first to get the Hello World application running. I am using Eclipse IDE and the Android 4.0.3 version 15 SDK. I copi

19条回答
  •  爱一瞬间的悲伤
    2020-11-28 10:09

    I am using Android Studio 0.8.1. I have a project's gradle file like below:

    android {
        compileSdkVersion 19
        buildToolsVersion "20.0.0"
    
        defaultConfig {
            applicationId "com.omersonmez.widgets.hotspot"
            minSdkVersion 15
            targetSdkVersion 19
            versionCode 1
            versionName "1.0"
        }
        buildTypes {
            release {
                runProguard false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
        }
    }
    

    My emulator was android 4.0. So i modified my emulator and made api level 4.0.3(apilevel 15). It worked.

提交回复
热议问题