-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Task :react-native-push-notification:compileDebugJavaWithJavac FAILED all of a sudden #1979
Comments
Getting the exact same errors. I built probably 50 times with no issue, and then suddenly on multiple build machines this error started occurring. Suspect not specifically in this library but a low-level dependency that was pushed. |
I'm getting the same error, it started about an hour ago out of nowhere |
Getting the same error here. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@taltrui I think none of us has fixed firebase messaging package version and firebase did new release with breaking changes |
Is this the same error everyone facing ? all of a sudden |
This comment has been minimized.
This comment has been minimized.
All Trace
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
i am getting the same error suddenly |
Hi, |
This comment has been minimized.
This comment has been minimized.
Fixing the version of a dependency is a temporary fix |
This comment has been minimized.
This comment has been minimized.
@Dallas62 then what is the permanent fix? |
|
|
The same exact issue here, tried the whole day thought it is my new package added with conflicts before failed building with master branch. |
I have same problem. I tried upgrading to the
it works fine for me, the error no longer appears. |
upgrading to 7.3.0 solves for me too. |
I have a new error after upgrading to 7.3.0 |
This is android/build.gradle @Dallas62 i am using
and this is android/app/build.gradle
|
@MrAngelos6 maybe you have the same issue as we did: #1979 (comment) |
From your log, it looks like the issue is related to https://github.com/invertase/react-native-firebase |
@lalit-tsa A screenshot will not help. I see many deprecated warning message. Consider upgrade your dependencies and provide a Gradle file. |
Thanks for the quick update of the lib. Android/app/build.gradle
This is my android/build.gradle.
|
Please try it install latest library npm i react-native-push-notification@latest |
@Priiyam Get stuck in old version will cause more dommages to your apps since there is a big issue in old version which exclude all recent Android device. It's not so difficult to create and use a channel. |
@Dallas62 Are you have some solution for the problem? |
@Dallas62 I have the same issue as @MrAngelos6
|
Which problem, a release is available. |
@Dallas62 unfortunately doesn't work for me |
@TalkyEk Since this is a duplicate classes, you have a dependency in your Gradle File which is wrong, can't help more with information provided. |
@Dallas62 thanks for help |
Getting the same, meh :( |
Please note my comment in #1979 (comment) |
thanks a lot. this fixed it for me |
@Dallas62 after upgrading it to 7.3.0 it worked for me the apk is created but as soon as the app is launched it get crashed below is the logcat screen shot |
Task :app:checkDebugDuplicateClasses FAILED I updated the push-notification version @7.3.0. Can anyone help me out with this ? |
upgraded to 7.3.0 build is successful but app keeps on crashing on start up, no other changes made, |
This comment has been minimized.
This comment has been minimized.
A new version |
Bug
Two projects that uses this library. But suddenly we can't build them on Android anymore.
Task :react-native-push-notification:compileDebugJavaWithJavac FAILED
It seems like other people are having this issue too. But it might be related to react-native-fcm.
evollu/react-native-fcm#1111 (comment)
Anyone know how to fix it?
Environment info
react-native info
output:Library version: 7.2.3
Error:
Steps To Reproduce
Describe what you expected to happen:
Reproducible sample code
The text was updated successfully, but these errors were encountered: