-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Description
Salesforce react native app
Steps to reproduce
Create the salesforce react native app and it will start giving a below error
npx react-native run-android
warn Package rn-fetch-blob contains invalid configuration: "dependency.hooks" is not allowed. Please verify it's properly linked using "npx react-native config" command and contact the package maintainers about this.
info A dev server is already running for this project on port 8081.
info Installing the app...
Task :SalesforceMobileSDK-Android:buildSrc:compileKotlin
w: file:///Users/ninja/workspace/vino/sk/new_ap/yokohama/mobile_sdk/SalesforceMobileSDK-Android/buildSrc/src/main/kotlin/publish-module.gradle.kts:17:29 'creating(KClass, U.() -> Unit): PolymorphicDomainObjectContainerCreatingDelegateProvider<Task!, U>' is deprecated. Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.
Configure project :app
WARNING: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated.
The current default is 'false'.
It will be removed in version 10.0 of the Android Gradle plugin.
To keep using this feature, add the following to your module-level build.gradle files:
android.buildFeatures.buildConfig = true
or from Android Studio, click:Refactor>Migrate BuildConfig to Gradle Build Files.
[Incubating] Problems report is available at: file:///Users/ninja/workspace/vino/sk/new_ap/yokohama/android/build/reports/problems/problems-report.html
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 https://docs.gradle.org/8.14.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
19 actionable tasks: 13 executed, 6 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
- What went wrong:
A problem occurred evaluating project ':react-native-gesture-handler'.
A problem occurred starting process 'command 'node''
- 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.
==============================================================================
2: Task failed with an exception.
- What went wrong:
A problem occurred configuring project ':react-native-gesture-handler'.
Android Gradle Plugin: project ':react-native-gesture-handler' does not specify
compileSdkin build.gradle (/Users/ninja/workspace/vino/sk/new_ap/yokohama/node_modules/react-native-gesture-handler/android/build.gradle).
- 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 25s
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build completed with 2 failures. 1: Task failed with an exception.
- What went wrong:
A problem occurred evaluating project ':react-native-gesture-handler'.
A problem occurred starting process 'command 'node'' * 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.
============================================================================== 2: Task failed with an exception.
- What went wrong:
A problem occurred configuring project ':react-native-gesture-handler'.
Android Gradle Plugin: project ':react-native-gesture-handler' does not specify
compileSdkin build.gradle (/Users/ninja/workspace/vino/sk/new_ap/yokohama/node_modules/react-native-gesture-handler/android/build.gradle). * 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 25s.
A link to a Gist, an Expo Snack or a link to a repository based on this template that reproduces the bug.
https://github.com/forcedotcom/SalesforceMobileSDK-ReactNative#v13.1.0
Gesture Handler version
2.25.0
React Native version
0.79.3
Platforms
Android
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes