LoginSignup
2
0

More than 5 years have passed since last update.

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

Last updated at Posted at 2018-02-07

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
    }
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0