Android Studio Gradle issue upgrading to version 0.5.0 - Gradle Migrating From 0.8 to 0.9 - Also Android Studio upgrade to 0.8.1

后端 未结 8 2463
名媛妹妹
名媛妹妹 2020-11-27 14:41

After upgrade message states:

Failed to refresh Gradle project \'XXX\'
The project is using an unsupported version of the Android Gradle plug-in (0.8.3).
Ve         


        
8条回答
  •  执念已碎
    2020-11-27 14:55

    The most simple Android project has the following build.gradle:

    buildscript {
        repositories {
            mavenCentral()
        }
    
        dependencies {
            classpath 'com.android.tools.build:gradle:0.9.0'
        }
    }
    
    apply plugin: 'android'
    
    android {
        compileSdkVersion 19
        buildToolsVersion "19.0.0"
    }
    

    There are 3 main areas to this Android build file:

    new-build-system user-guide

提交回复
热议问题