Git Product home page Git Product logo

Comments (7)

RezaRahmati avatar RezaRahmati commented on September 13, 2024 10

@benc1 Thanks
For me my build.gradle file was a little different but I changed it 1.2.3 and error is gone


if (gradle.gradleVersion >= "2.2") {
        dependencies {
            classpath 'com.android.tools.build:gradle:1.2.3+'
        }
    } else if (gradle.gradleVersion >= "2.1") {
        dependencies {
            classpath 'com.android.tools.build:gradle:0.14.0+'
        }
    } else {
        dependencies {
            classpath 'com.android.tools.build:gradle:0.12.0+'
        }
    }

from cordova-plugin-fcm.

benc1 avatar benc1 commented on September 13, 2024 5

for us it helped to change the gradle version to 1.2.3:

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
}
}

from cordova-plugin-fcm.

stefanstift avatar stefanstift commented on September 13, 2024

Experiencing the same - any hint whats the problem?

from cordova-plugin-fcm.

RezaRahmati avatar RezaRahmati commented on September 13, 2024

me also experiencing the same :(

from cordova-plugin-fcm.

RezaRahmati avatar RezaRahmati commented on September 13, 2024

@crowjams @stefanstift did you guys find a solution for the issue?

from cordova-plugin-fcm.

ktzanettis avatar ktzanettis commented on September 13, 2024

I keep getting the same error:
Could not find method registerResGeneratingTask() for arguments [task ':processDebugGoogleServices', xxx\platforms\android\build\generated\res\google-services\debug] on com.android.build.gradle.internal.api.Applicat
ionVariantImpl_Decorated@36c1906b.

Changed the gradle version as mentioned above but still no luck. Any suggestions?

from cordova-plugin-fcm.

gartorware avatar gartorware commented on September 13, 2024

Same error here. benc1 solution worked like a charm!

from cordova-plugin-fcm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.