I installed react-native and created a new project using the command
npx react-native init AwesomeProject
(I have not added any code) and when I run the project using npx react-native run-android
I get an error Task :app:processDebugResources FAILED
After using --warning-mode all
I now get the following feedback:
IncrementalTaskInputs has been deprecated. This is scheduled to be removed in Gradle 8.0. On method 'IncrementalTask.taskAction$gradle_core' use 'org.gradle.work.InputChanges' instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.5.1/userguide/upgrading_version_7.html#incremental_task_inputs_deprecation at react_umo8btiw38k009lp8jdme1yz$_run_closure8$_closure10$_closure13.doCall(C:\Windows\System32\AwesomeProject\node_modules\react-native\react.gradle:395) (Run with --stacktrace to get the full stack trace of this deprecation warning.)
How can I fix this? I wasted hours trying to fix it. I just want to to code a bit but I'm instead stuck at this..
JDK version: 11.0.16.1
Gradle version: 7.5.1