Comments (7)
@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.
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.
Experiencing the same - any hint whats the problem?
from cordova-plugin-fcm.
me also experiencing the same :(
from cordova-plugin-fcm.
@crowjams @stefanstift did you guys find a solution for the issue?
from cordova-plugin-fcm.
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.
Same error here. benc1 solution worked like a charm!
from cordova-plugin-fcm.
Related Issues (20)
- View not ready. SAVED NOTIFICATION
- Duplicate Notification on background or closed state
- Simple "cordova plugin add" not working HOT 2
- Cannot add task ':processArmv8DebugGoogleServices' as a task with that name already exists.
- not showing icon android 1 HOT 1
- Android app download from play store can't open, It show keep stopping
- Build error !! - Add FIRApp configure.
- FCM is not defined
- Plugin not working when iOS app is in foreground HOT 2
- Cocoapods and XCode HOT 1
- iOS: Provisioning profile "Demo Development" doesn't support the Push Notifications capability
- Error with xcode 12
- Use of Firebase Messaging iOS Direct Channel API? HOT 1
- getToken not working in ios HOT 1
- m id
- index.js - Hello World
- Plugin is not working in AndroidX version HOT 1
- MISSING_INSTANCEID_SERVICE com.gae.scaffolder.plugin.FCMPlugin$1.onComplete
- How to get FCM token in Cordova ?
- The mutability of each PendingIntent object is required for all apps targeting Android 12 or newer (API level 31)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-fcm.