-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
Upgraded project to React Native 0.56. Sentry build fails on Android "actual and formal argument lists differ in length" #490
Comments
The RNSentryPackage class doesn't have a constructor: Somehow either the updated versions of RN 0.56, Gradle 4.6, or Android SDK 28.x have removed default constructors. Not sure exactly what it is, but something involving constructors has changed. |
This is actually a bug, I will release a new version tomorrow with a fix for this. |
@peacechen Can you try to upgrade to |
Yes it's working great. Thanks @HazAT |
@HazAT I am still having this issue:
I'm using React Native 0.57.5 and react-native-sentry 0.39.1 any ideas? |
Remove the argument and simply call
|
Yes, this did solve the issue -- thanks @peacechen and @HazAT =) |
OS:
Platform:
Output of
node -v && npm -v && npm ls --prod --depth=0
Config:
I have following issue:
Building for Android returns this error:
Steps to reproduce:
Upgrade project to React Native 0.56.1
MainApplication.java contains
Actual result:
Build error
Expected result:
Successful build
The text was updated successfully, but these errors were encountered: