'A problem occurred evaluating project ':app'. >

    No signature of method: build_6h3wr3e7a1hk3g0th5cmcx45p.android() is applicable for argument types: (build_6h3wr3e7a1hk3g0th5cmcx45p$_run_closure1) values: [build_6h3wr3e7a1hk3g0th5cmcx45p$_run_closure1@7bf78bf9]    
    
    
    plugins {
        id 'com.android.application'
    }
    
    android {
        compileSdk 31
    
        defaultConfig {
            applicationId "com.saqib.musicapp"
            minSdk 21
            targetSdk 31
            versionCode 1.0
            versionName "1.0"
    
            testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
            versionNameSuffix defaultMinSdkVersion
            targetSdkVersion 31
            minSdkVersion defaultMinSdkVersion
            signingConfig signingConfigs.debug
            proguardFiles  'proguard-rules.pro'
            testFunctionalTest true
            testHandleProfiling true
            multiDexEnabled true
            testApplicationId defaultMinSdkVersion 31
        }
    
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
            }
        }
        compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_8
            targetCompatibility JavaVersion.VERSION_1_8
        }
        dependenciesInfo {
            includeInApk true
            includeInBundle true
        }
        compileSdkVersion 31
        buildToolsVersion '31.0.0'
     }
    
    dependencies {
    
        implementation platform('com.google.firebase:firebase-bom:29.0.1')
        implementation 'com.google.firebase:firebase-analytics'
        implementation 'androidx.appcompat:appcompat:1.4.1'
        implementation 'androidx.viewpager2:viewpager2:1.0.0'
        implementation 'androidx.appcompat:appcompat:1.4.1'
        implementation 'com.google.android.material:material:1.5.0'
        implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
        testImplementation 'junit:junit:'
        androidTestImplementation 'androidx.test.ext:junit:1.1.3'
        androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
    
        implementation 'com.hbb20:ccp:2.5.4'
        implementation 'com.google.firebase:firebase-auth:21.0.1'
        implementation 'com.google.firebase:firebase-auth:21.0.1'
        implementation 'com.google.firebase:firebase-database:20.0.3'
        implementation 'com.google.firebase:firebase-database'
        implementation 'androidx.legacy:legacy-support-v4:1.0.0'
        implementation 'com.android.volley:volley:1.2.1'
        implementation 'com.airbnb.android:lottie:3.4.1'
        implementation 'com.google.firebase:firebase-storage:20.0.0'
        //OTP dependency
        implementation 'com.chaos.view:pinview:1.4.3'
        implementation 'com.yarolegovich:sliding-root-nav:1.1.1'
        //noinspection GradleCompatible
        implementation 'com.android.support:design:28.0.0'
        implementation 'de.hdodenhof:circleimageview:3.1.0'
        implementation 'com.makeramen:roundedimageview:2.3.0'
    
    
    
        implementation 'com.cuberto:liquid-swipe:1.0.0'
        implementation 'com.google.android.material:material:1.5.0'
    
        implementation 'androidx.core:core:1.7.0'
        implementation 'androidx.core:core-ktx:1.7.0'
    
    
    
    
    
    
    }

No signature of method: build_6h3wr3e7a1hk3g0th5cmcx45p.android() is applicable for argument types: (build_6h3wr3e7a1hk3g0th5cmcx45p$_run_closure1) values: [build_6h3wr3e7a1hk3g0th5cmcx45p$_run_closure1@7bf78bf9]    
    


what should I do? how can I fix this issues?

No signature of method: build_6h3wr3e7a1hk3g0th5cmcx45p.android() is applicable for argument types: (build_6h3wr3e7a1hk3g0th5cmcx45p$_run_closure1) values: [build_6h3wr3e7a1hk3g0th5cmcx45p$_run_closure1@7bf78bf9]

what should I do? how can I fix this issues?

No signature of method: build_6h3wr3e7a1hk3g0th5cmcx45p.android() is applicable for argument types: (build_6h3wr3e7a1hk3g0th5cmcx45p$_run_closure1) values: [build_6h3wr3e7a1hk3g0th5cmcx45p$_run_closure1@7bf78bf9]

what should I do? how can I fix this issues?


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source