Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is version android for stripe/stripe-react-native version 0.35.1 #1648

Open
phuocantd opened this issue Apr 26, 2024 · 0 comments
Open

Comments

@phuocantd
Copy link

phuocantd commented Apr 26, 2024

I'm using "@stripe/stripe-react-native" version 0.35.1. I want to add implementation 'com.stripe:stripe-android:X.X.X' in app/build.gradle, but I don't know which version is suitable. When I use the latest version of stripe-android (implementation 'com.stripe:stripe-android:20.41.0'), I encounter the following error:

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
2 issues were found when checking AAR metadata:

   1.  Dependency 'androidx.emoji2:emoji2-views-helper:1.4.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.
 
       :app is currently compiled against android-33.
 
       Also, the maximum recommended compile SDK version for Android Gradle
       plugin 7.4.2 is 33.
 
       Recommended action: Update this project's version of the Android Gradle
       plugin to one that supports 34, then update this project to use
       compileSdkVerion of at least 34.
 
       Note that updating a library or application's compileSdkVersion (which
       allows newer APIs to be used) can be done separately from updating
       targetSdkVersion (which opts the app in to new runtime behavior) and
       minSdkVersion (which determines which devices the app can be installed
       on).
 
   2.  Dependency 'androidx.emoji2:emoji2:1.4.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.
 
       :app is currently compiled against android-33.
 
       Also, the maximum recommended compile SDK version for Android Gradle
       plugin 7.4.2 is 33.
 
       Recommended action: Update this project's version of the Android Gradle
       plugin to one that supports 34, then update this project to use
       compileSdkVerion of at least 34.
 
       Note that updating a library or application's compileSdkVersion (which
       allows newer APIs to be used) can be done separately from updating
       targetSdkVersion (which opts the app in to new runtime behavior) and
       minSdkVersion (which determines which devices the app can be installed
       on).

Environment

      "@stripe/stripe-react-native": "^0.35.1",
      "react-native": "0.72.11",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant