Failed to set up SDK: Error:Module 'app': platform 'Google Inc.:Google APIs:21' not found

前端 未结 4 1142
借酒劲吻你
借酒劲吻你 2021-02-14 12:52
Failed to set up SDK: Error:Module \'app\': platform \'Google Inc.:Google APIs:21\' not found.

At a complete loss as to why this isn\'t working. Attemp

4条回答
  •  误落风尘
    2021-02-14 13:16

    You can use compileSdkVersion 21 instead of yours .

        android {
        compileSdkVersion 21
        buildToolsVersion '21.1.2'
    
        defaultConfig {
            applicationId "com.elgami.customizer"
            minSdkVersion 14
            targetSdkVersion 21
        }
    
        buildTypes {
            release {
                minifyEnabled false
                //runProguard false
                //proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
            }
        }
    }
    

提交回复
热议问题