flutter_stripe_payment icon indicating copy to clipboard operation
flutter_stripe_payment copied to clipboard

Issue using jitsi_meet with stripe_payment

Open p02diada opened this issue 4 years ago • 4 comments

I have already using jitsi_meet: ^2.0.0 When I try to use stripe_payment: ^1.0.9 getting following issue.

Type com.facebook.react.bridge.ReactMethod is defined multiple times

flutter build apk --flavor beta ./lib/main_staging.dart
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
    To generate an app bundle, run:
        flutter build appbundle --target-platform android-arm,android-arm64,android-x64
        Learn more on: https://developer.android.com/guide/app-bundle
    To split the APKs per ABI, run:
        flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
        Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
/Users/albertodiaz/.gradle/caches/transforms-2/files-2.1/9736889a4058d8efa2d68cfdb610215c/jetified-react-native-0.61.5-jitsi.2-runtime.jar: R8: Type com.facebook.react.bridge.ReactMethod is defined multiple times: /Users/albertodiaz/.gradle/caches/transforms-2/files-2.1/9736889a4058d8efa2d68cfdb610215c/jetified-react-native-0.61.5-jitsi.2-runtime.jar:com/facebook/react/bridge/ReactMethod.class, /Users/albertodiaz/projects/mrmilu/flamingo/go/build/stripe_payment/intermediates/runtime_library_classes/release/classes.jar:com/facebook/react/bridge/ReactMethod.class
                                                                        
FAILURE: Build failed with an exception.                                
                                                                        
* What went wrong:                                                      
Execution failed for task ':app:minifyBetaReleaseWithR8'.               
> com.android.tools.r8.CompilationFailedException: Compilation failed to complete
                                                                        
* Try:                                                                  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
                                                                        
* Get more help at https://help.gradle.org                              
                                                                        
BUILD FAILED in 18s   

p02diada avatar Feb 16 '21 17:02 p02diada

same problem , i had to remove stripe finally to make the build

sajanyamaha avatar Apr 23 '21 18:04 sajanyamaha

Same. Does anyone have solution?

kukurt123 avatar Apr 24 '21 09:04 kukurt123

Found similar issue with flutter_stripe and jitsi , Does anyone have solution?

akhil-bp avatar May 23 '23 04:05 akhil-bp

Anyone found a solution? It has been 2 yrs now...

mbebs avatar Jul 20 '23 06:07 mbebs