Hello I'm a new member and I've followed the steps as given in Build.md for setting up react native app for android on my windows 11 pc but it is showing this error and unable to build the app.
D:\ReactNative\joplin\packages\app-mobile\android>gradlew installDebug
Starting a Gradle Daemon, 4 incompatible and 1 stopped Daemons could not be reused, use --status for details
Configure project :app
WARNING: The option setting 'android.jetifier.ignorelist=bcprov' is experimental.
FAILURE: Build failed with an exception.
- What went wrong:
Could not determine the dependencies of task ':react-native-image-picker:compileDebugJavaWithJavac'.
Could not determine the dependencies of null.
Cannot query the value of this provider because it has no value available.
- 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.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to Command-Line Interface Reference in the Gradle documentation.
BUILD FAILED in 32s
5 actionable tasks: 1 executed, 4 up-to-date
Alternatively, I also tried running the command "gradlew.bat installDebug" as mentioned in BUILD.md but it is showing the error given below and app is not built again.
D:\ReactNative\joplin\packages\app-mobile\android>gradlew.bat installDebug
Configure project :app
WARNING: The option setting 'android.jetifier.ignorelist=bcprov' is experimental.
FAILURE: Build failed with an exception.
- What went wrong:
Could not determine the dependencies of task ':react-native-image-picker:compileDebugJavaWithJavac'.
Could not determine the dependencies of null.
Cannot query the value of this provider because it has no value available.
- 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.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to Command-Line Interface Reference in the Gradle documentation.
BUILD FAILED in 7s
5 actionable tasks: 1 executed, 4 up-to-date