Notification texts go here Contact Us Buy Now!

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

Today we will know how to solve the problem Unsupported method: BaseConfig.getApplicationIdSuffix, I'm just trying to open source code of android app in android studio then i faced this problem here is how i solved it.
Blogger Nayeem
Today we will know how to solve the problem Unsupported method: BaseConfig.getApplicationIdSuffix, I'm just trying to open source code of android app in android studio then i faced this problem here is how i solved it.

You know when you open old codes in new version of android studio that doesn't meet the old libraries and sdk versions then these problems occur.

build.gradle project file is now available to edit but till you fix all problem you can't see build.gradle module file. so here open the build.gradle file and add depencies classpath with newer version.

dependencies {
    classpath 'com.android.tools.build:gradle:3.1.4'

and also add maven repository on this same file under jcenter()
maven {
    url 'https://maven.google.com/'    name 'Google'}

now open gradle wrapper properties file and replace with the new version,
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

Now press sync button after a while all should be done, if not it can show error for build version just replace with the latest as my source code contain 23 and i replace it with 27 now after again sync finally it successfully done.
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.
NextGen Digital Welcome to WhatsApp chat
Howdy! How can we help you today?
Type here...