-
Notifications
You must be signed in to change notification settings - Fork 1.9k
class file for com.google.android.gms.internal.zzbej not found #2317
Comments
I tried to modify android.properties... old
I changed com.google.android.gms:play-services-analytics:11.6.2
but now I have this error:
|
Been having this problem since yesterday. Thought it was the older version of the plugin (I was using 1.10.7, and tried upgrading to 1.11.0) but had the same issue. I was in the process of upgrading to 2.2.2, since I assumed that this problem would be solved there - but since it's not I am going to wait a bit longer. |
I don't understand. Could you please support me? |
@lsantaniello yeah, this is a duplicate of #1718. Sadly the way Android dependencies have evolved and the Cordova plugin ecosystem includes shared libraries we run into a lot of these problems. You are doing the right thing by matching your play services and fcm versions. With your latest build error I'd look at cleaning out the android platform completely, then making sure all your android dependencies are up to date, then trying a re-build. |
I followed all these steps but the issue persists is there perhaps a newer solution? |
@Ross-Rawlins I can fix my build by changing cordova.system.library.11=com.google.firebase:firebase-messaging: to 12.0.0 in the project.properties. All my play-services are running on google-play-service version 12.0.0. Themes like they removed message.getFrom in the higher releases. |
@efix0 no the @lsantaniello looking at your dependencies:
Both of the support libraries should be the same version. |
Same issue here. I have the following message when I try to build:
My android.properties is like this:
My plugin version is 2.1.2 |
@AlbertoGomezMartin yeah, as you can see in the |
Hi @macdonst
I just removed the 'cordova-plugin-camera' that included the 'com.android.support:support-v4:24.1.1+ ' library (I don't need access to camera), So my android.properties updated is And it is still showing the following when trying to build in Android (btw, in ios it works perfectly)
Any help would be really appreciated |
To whom it may concern, I uninstall these plugins and the error dissapeared:
👍 |
FYI, For example:
😢
😎 |
@dpa99c This got me closer (I think), but now I'm getting this new error
I tried specifying 15.0.2 (instead of 15.+), but then I get an error that that version of the plugin doesn't exist. 😭 Any ideas? |
@itslenny : have u fixed this? am facing it and tried many many solutions uselessly :( |
@dpa99c: Sir i have installed both command but i got below error:
|
I fixed it by specifying the firebase version FCM_VERSION when adding the plugin. |
This solved my issue too. Thanks. |
Expected Behaviour
The application crashes immediately after the splash screen.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Plugin version
phonegap-plugin-push 2.2.2 "PushPlugin"
Logs taken while reproducing problem
The text was updated successfully, but these errors were encountered: