https://github.com/react-native-comm...native-webview
Aşağıdaki hatayı aldım.
λ react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
(node:5600) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
Jetifier found 982 file(s) to forward-jetify. Using 12 workers...
info JS server already running.
info Installing the app...
> Task :react-native-webview:compileDebugJavaWithJavac FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See [URL]https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings[/URL]
13 actionable tasks: 2 executed, 11 up-to-date
D:mobilprojelertest123node_modulesreact-native-webviewandroidsrcmainjavacomreactnativecommunitywebviewRNCWebViewModule.java:276: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
^
symbol: variable Q
location: class VERSION_CODES
Note: D:mobilprojelertest123node_modulesreact-native-webviewandroidsrcmainjavacomreactnativecommunitywebviewRNCWebViewManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:mobilprojelertest123node_modulesreact-native-webviewandroidsrcmainjavacomreactnativecommunitywebviewRNCWebViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-webview:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at [URL]https://help.gradle.org[/URL]
BU�LD FAILED in 3s
error Failed to install the app. Make sure you have the Android development environment set up: [URL]https://reactnative.dev/docs/environment-setup[/URL]. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
D:mobilprojelertest123node_modulesreact-native-webviewandroidsrcmainjavacomreactnativecommunitywebviewRNCWebViewModule.java:276: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
^
symbol: variable Q
location: class VERSION_CODES
Note: D:mobilprojelertest123node_modulesreact-native-webviewandroidsrcmainjavacomreactnativecommunitywebviewRNCWebViewManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:mobilprojelertest123node_modulesreact-native-webviewandroidsrcmainjavacomreactnativecommunitywebviewRNCWebViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-webview:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at [URL]https://help.gradle.org[/URL]
BU�LD FAILED in 3s
at makeError (D:mobilprojelertest123node_modulesexecaindex.js:174:9)
at D:mobilprojelertest123node_modulesexecaindex.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async runOnAllDevices (D:mobilprojelertest123node_modules@react-native-communitycli-platform-androidbuildcommandsrunAndroidrunOnAllDevices.js:94:5)
at async Command.handleAction (D:mobilprojelertest123node_modulesreact-nativenode_modules@react-native-communityclibuildindex.js:186:9)
D:mobilprojelertest123