Can't build `tipsi-stripe` for Android
See original GitHub issueBefore I have submitted the issue
[✓ ] I have read an installation guide
[✓ ] I know that for an iOS I need to install pods because I’ve read the installation guide
[✓ ] I have read a linking guide and checked that everything is OK like in manual linking guide
[✓ ] I know that before using tipsi-stripe
I need to set options for my app as described in usage guide
The problem
When trying to run react-native run-android
, I get:
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: android.support.design.widget.CoordinatorLayout$Behavior
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
Environment
tipsi-stripe
version: 5.6.0- iOS or Android: Android
- OS version: macOS
- React-Native version: 0.57.1
Links to logs and sources
Create a GIST which is a paste of your full logs or sources, and link them here. If you are reporting a bug, always include build or error logs!
For Android
, please provide the following sections from android/app/build.gradle
:
- android.compileSdkVersion: 27
- android.buildToolsVersion: 27.0.3
- android.defaultConfig.minSdkVersion: 16
- android.defaultConfig.targetSdkVersion: 26
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:26 (2 by maintainers)
Top Results From Across the Web
build for my react-native app fails after I install tipsi-stripe
I'm building an Android app in react-native and I need to add a payment page with Stripe. Unfortunately after I run yarn add...
Read more >Migration Guide & Issues · tipsi-stripe
For build Android before building app use Jetify. Run. npx jetify npx react-native run-android ... error: cannot find symbol import com.facebook.
Read more >tipsi-stripe | Yarn - Package Manager
If you're building apps with React Native, please use Stripe's official React Native library. tipsi-stripe. If for some reason you cannot migrate to...
Read more >tipsi-stripe - npm
React Native Stripe binding for iOS/Android platforms. Latest version: 10.0.0, last published: 3 months ago. Start using tipsi-stripe in ...
Read more >Trying to add third party module, react native can't find item in ...
... I use the tipsi-stripe library instead of the payment api built into expo. ... seems to build okay in iOS, but in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Add this to build.gradle
/app/bluild.gradle
dependencies { … implementation ‘com.google.firebase:firebase-core:16.0.7’ }
fixed it for me