Android
gradle

[Android] Unsupported method: BaseConfig.getApplicationIdSuffix() - Solved

Problem

dependencies {
        classpath 'com.android.tools.build:gradle:1.2.3' <== Genninn
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
        classpath 'com.github.dcendents:android-maven-plugin:1.2'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }

Error:Unsupported method: BaseConfig.getApplicationIdSuffix().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
Consult IDE log for more details (Help | Show Log)

Solution

dependencies {
        classpath 'com.android.tools.build:gradle:2.3.2' <== koko kaeru
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
        classpath 'com.github.dcendents:android-maven-plugin:1.2'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }

Edit

dependencies {
        classpath 'com.android.tools.build:gradle:2.3.2' <== koko kaeru
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1' <== koko mo 

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }