I have looked everywhere to try to understand and fix this issue but no answers. This is the error I am getting:
Failed to install the app.
Command failed with exit code 1:
gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Picked up JAVA_TOOL_OPTIONS: -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8
FAILURE: Build failed with an exception.
* What went wrong: A problem was found with the configuration of task ':app:generateAutolinkingPackageList' (type 'GeneratePackageListTask').
- In plugin 'com.facebook.react' type 'com.facebook.react.tasks.GeneratePackageListTask' property 'autolinkInputFile' specifies file 'C:\Users\Owner\Desktop\Code1.0\thema-botim-clone-RN\android\build\generated\autolinking\autolinking.json' which doesn't exist.
Reason: An input file was expected to be present but it doesn't exist.
Possible solutions:
1. Make sure the file exists before the task is called.
2. Make sure that the task which produces the file is declared as an input.
For more information, please refer to https://docs.gradle.org/8.9/userguide/validation_problems.html#input_file_does_not_exist in the Gradle documentation.
* 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 https://help.gradle.org.
BUILD FAILED in 1s.