Tuesday, April 1, 2014

Android Studio Gradle issue upgrading to new version


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:



Note:

Still the problem cannot solved after made changes above in the your project. Save the changes and close your project then again import to Android Studio 




No comments:

Post a Comment