Open SE-Umee opened 6 months ago
In node_modules/react-native-payments/android/src/main/java/com/reactnativepayments/ReactNativePaymentsModule.java
Search and change all the android.support to androidx
for example android.support.annotation Becomes androidx.annotation
Then by using patch-package you can make a patch
After making the changes, save them and then run this command:
npx patch-package react-native-payments
Hi, I am getting this error while building the app on Android. How can I fix this? Note Build Tools version is (30.0.3)
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.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings 5 actionable tasks: 5 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running 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 failed with an exception.
What went wrong: Could not determine the dependencies of task ':react-native-payments:bundleLibCompileToJarDebug'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 9s error Failed to install the app. info Run CLI with --verbose flag for more details.
![Uploading Screenshot 2024-05-18 at 10.19.33 AM.png…]()