You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Android builds in the Nx project are failing due to an error related to annotations when attempting to install the stripe/react-native package.
However, this issue does not arise when installing the package on a new project using the react-native CLI.
Task :stripe_stripe-react-native:packageDebugResources FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.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/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
58 actionable tasks: 2 executed, 56 up-to-date
ERROR:/Users/esfxra/monorepo/apps/test-app/node_modules/@stripe/stripe-react-native/android/src/main/res/layout/googlepay_button_dark.xml: Resource and asset merger: /Users/esfxra/monorepo/apps/test-app/node_modules/@stripe/stripe-react-native/android/src/main/res/layout/googlepay_button_dark.xml is not annotated as @Input
java.lang.IllegalStateException: /Users/esfxra/monorepo/apps/test-app/node_modules/@stripe/stripe-react-native/android/src/main/res/layout/googlepay_button_dark.xml is not annotated as @Input
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':stripe_stripe-react-native:packageDebugResources'.
>! > /Users/esfxra/monorepo/apps/test-app/node_modules/@stripe/stripe-react-native/android/src/main/res/layout/googlepay_button_dark.xml: Error: is not annotated as @Input
Steps to reproduce the behavior:
Run npm install @stripe/stripe-react-native
Integrate the {...} component
Run npx nx run wifi-app:run-android
See error
The text was updated successfully, but these errors were encountered:
The Android builds in the Nx project are failing due to an error related to annotations when attempting to install the
stripe/react-native
package.However, this issue does not arise when installing the package on a new project using the react-native CLI.
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: