stripe / stripe-react-native

React Native library for Stripe.
https://stripe.dev/stripe-react-native
MIT License
1.27k stars 264 forks source link

uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library #1760

Open Mani-99yards opened 5 days ago

Mani-99yards commented 5 days ago

Task :stripe_stripe-react-native:processDebugAndroidTestManifest FAILED /Users/node_modules/@stripe/stripe-react-native/android/build/intermediates/tmp/manifest/androidTest/debug/tempFile1ProcessTestManifest7010220358703027879.xml:5:5-74 Error: uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library [com.facebook.react:react-android:0.75.4] /Users/manikumargouni/.gradle/caches/8.9/transforms/1246311b17a3d477485f82624d8e0407/transformed/react-android-0.75.4-debug/AndroidManifest.xml as the library might be using APIs not available in 21 Suggestion: use a compatible library with a minSdk of at most 21, or increase this project's minSdk version to at least 23, or use tools:overrideLibrary="com.facebook.react" to force usage (may lead to runtime failures)

See https://developer.android.com/r/studio-ui/build/manifest-merger for more information about the manifest merger.

Mani-99yards commented 5 days ago

I recently migrated from 0.73.4 to 0.75.4, I am getting above issue while building in android

AlfaizTenup commented 3 days ago

Same issue here.