Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId; #146

Open
KFMDMSolutions opened this issue May 17, 2024 · 4 comments

Comments

@KFMDMSolutions
Copy link

getting error java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId;

i see it was fixed on master but a i can't find a released fix

@benw-pusher
Copy link

What version are you using? I believe this was fixed in 1.9.2 - https://github.com/pusher/push-notifications-android/blob/master/CHANGELOG.md#192---2023-02-22

@KFMDMSolutions
Copy link
Author

it wasn't on the released version

compileOnly "com.google.firebase:firebase-iid:21.1.0"

@dhruv-00
Copy link

hey @KFMDMSolutions did you find any solution
I'm trying to integrate this in my expo app with https://github.com/threls/expo-pusher-beams
ios it is working fine but in android it is showing this error when I'm trying to set instanseId

@dhruv-00
Copy link

got it I forgot to add the dependency in the plugins array
Now it is working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants