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

Android builds are broken for v12.2.0 #2989

Closed
1987cr opened this issue Jun 6, 2023 · 2 comments
Closed

Android builds are broken for v12.2.0 #2989

1987cr opened this issue Jun 6, 2023 · 2 comments

Comments

@1987cr
Copy link

1987cr commented Jun 6, 2023

Bug description:
Android builds fail with this error:

[...]/node_modules/react-native-webview/***/src/main/java/com/reactnativecommunity/webview/RNCWebViewFileProvider.java:13: error: constructor FileProvider in class FileProvider cannot be applied to given types;
    super(R.xml.file_provider_paths);
    ^
  required: no arguments
  found: int
  reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

Probably introduced here #2952

To Reproduce:
Build app for android

Environment:

  • OS: Android
  • react-native version: 0.71.8
  • react-native-webview version: 12.2.0
@UNIDY2002
Copy link
Contributor

Duplicate of #2978

@1987cr
Copy link
Author

1987cr commented Jun 7, 2023

Duplicate of #2978

Closing in favor of that one

@1987cr 1987cr closed this as completed Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants