#
error in build the app bundle because Stripe and RazorPay

I'm unable to build the app bundle because Stripe and RazorPay are used in Brazil. We can't create a RazorPay account, only Stripe, Mercado Pago, and Pix. I followed the documentation to remove RazorPay, but it generates the same error. I can't remove Stripe because I use it and don't have Pix yet. I'll send you the error log. I'd like to see more detailed documentation for:

1. Generate the Tokenization Key for PayPal.

2. Translate the application code to make Portuguese the default, but the user can choose between English and Spanish. 3. Logging in with Google isn't well explained.

4. Logging in with Apple.

5. Logging in using a phone number.

6. Create permission rules so that sub-administrators can't access the contact list of people with the user's email or phone number. Or create a class of sub-administrators called healthcare professionals, where each professional can only access the personal data of users they register. Or, the user can choose the professional they want to be instructed or guided by.

/Users/wagnergomes/development/flutter/bin/flutter --no-color build appbundle

Resolving dependencies...

Downloading packages...

  _fe_analyzer_shared 85.0.0 (87.0.0 available)

  _flutterfire_internals 1.3.59 (1.3.60 available)

  analyzer 7.7.1 (8.1.0 available)

  bloc 8.1.4 (9.0.0 available)

  build 2.5.4 (3.0.1 available)

  build_resolvers 2.5.4 (3.0.1 available)

  build_runner 2.5.4 (2.6.1 available)

  build_runner_core 9.1.2 (9.2.1 available)

  characters 1.4.0 (1.4.1 available)

  chat_gpt_sdk 3.1.2 (3.1.5 available)

  chewie 1.8.1 (1.12.1 available)

! cloud_firestore 5.6.12 (overridden) (6.0.0 available)

  cloud_firestore_platform_interface 6.6.12 (7.0.0 available)

  cloud_firestore_web 4.4.12 (5.0.0 available)

  crisp_chat 2.3.0 (2.4.0 available)

  csslib 0.17.3 (1.0.2 available)

  dart_style 3.1.1 (3.1.2 available)

  device_frame 1.3.0 (1.4.0 available)

  device_preview 1.2.0 (1.3.1 available)

  draggable_bottom_sheet 1.0.2 (discontinued)

! fading_edge_scrollview 4.1.1 (overridden)

  fetch_client 1.1.1 (1.1.4 available)

  file_picker 8.3.7 (10.2.4 available)

  firebase_analytics 11.6.0 (12.0.0 available)

  firebase_analytics_platform_interface 4.4.3 (5.0.0 available)

  firebase_analytics_web 0.5.10+16 (0.6.0 available)

  firebase_auth 5.7.0 (6.0.0 available)

  firebase_auth_platform_interface 7.7.3 (8.0.0 available)

  firebase_auth_web 5.15.3 (6.0.0 available)

  firebase_core 3.15.2 (4.0.0 available)

  firebase_core_web 2.24.1 (3.0.0 available)

  firebase_crashlytics 4.3.10 (5.0.0 available)

  firebase_crashlytics_platform_interface 3.8.10 (3.8.11 available)

  firebase_messaging 15.2.10 (16.0.0 available)

  firebase_messaging_platform_interface 4.6.10 (4.7.0 available)

  firebase_messaging_web 3.10.10 (4.0.0 available)

  firebase_storage 12.4.10 (13.0.0 available)

  firebase_storage_platform_interface 5.2.10 (5.2.11 available)

  firebase_storage_web 3.10.17 (3.10.18 available)

  flutter_bloc 8.1.6 (9.1.1 available)

! flutter_layout_grid 2.0.8 (overridden)

  flutter_lints 4.0.0 (6.0.0 available)

  flutter_native_splash 2.4.4 (2.4.6 available)

  flutter_stripe 11.3.0 (11.5.0 available)

! flutter_svg 1.1.6 (overridden) (2.2.0 available)

  flutter_toggle_tab 1.4.1 (1.5.1 available)

  freezed_annotation 2.4.4 (3.1.0 available)

  google_mobile_ads 5.3.1 (6.0.0 available)

  google_sign_in 6.3.0 (7.1.1 available)

  google_sign_in_android 6.2.1 (7.0.3 available)

  google_sign_in_ios 5.9.0 (6.1.0 available)

  google_sign_in_platform_interface 2.5.0 (3.0.0 available)

  google_sign_in_web 0.12.4+4 (1.0.0 available)

  html 0.15.4 (0.15.6 available)

! http 0.13.6 (overridden) (1.5.0 available)

! intl 0.18.1 (overridden) (0.20.2 available)

  json_serializable 6.9.5 (6.10.0 available)

  leak_tracker 10.0.9 (11.0.1 available)

  leak_tracker_flutter_testing 3.0.9 (3.0.10 available)

  leak_tracker_testing 3.0.1 (3.0.2 available)

  lints 4.0.0 (6.0.0 available)

  material_color_utilities 0.11.1 (0.13.0 available)

  meta 1.16.0 (1.17.0 available)

  modal_bottom_sheet 2.1.2 (3.0.0 available)

  my_fatoorah 3.5.0 (discontinued replaced by myfatoorah_flutter)

  numerus 1.1.1 (2.3.0 available)

  permission_handler 11.4.0 (12.0.1 available)

  permission_handler_android 12.1.0 (13.0.1 available)

  petitparser 6.1.0 (7.0.0 available)

  pointycastle 3.9.1 (4.0.0 available)

  share_plus 10.1.4 (11.0.0 available)

  share_plus_platform_interface 5.0.2 (6.0.0 available)

  simple_pip_mode 0.8.0 (1.1.0 available)

  source_gen 2.0.0 (3.0.0 available)

  stripe_platform_interface 11.3.0 (11.5.0 available)

  syncfusion_flutter_charts 26.2.14 (30.2.4 available)

  syncfusion_flutter_core 26.2.14 (30.2.4 available)

  syncfusion_flutter_datepicker 26.2.14 (30.2.4 available)

  test_api 0.7.4 (0.7.7 available)

  vector_math 2.1.4 (2.2.0 available)

  vm_service 15.0.0 (15.0.2 available)

! webview_flutter 4.13.0 (overridden)

  xml 6.5.0 (6.6.0 available)

Got dependencies!

2 packages are discontinued.

78 packages have newer versions incompatible with dependency constraints.

Try `flutter pub outdated` for more information.

Running Gradle task 'bundleRelease'...                          

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

3 warnings

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/flutter_paytabs_bridge-2.7.0/android/src/main/java/com/paymentsdk/flutter_paymentsdk_bridge/FlutterPaytabsBridgePlugin.java uses or overrides a deprecated API.

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

Note: Recompile with -Xlint:deprecation for details.

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

3 warnings

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

3 warnings

Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/razorpay_flutter-1.4.0/android/src/main/java/com/razorpay/razorpay_flutter/RazorpayDelegate.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

3 warnings

3 warnings

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

3 warnings

3 warnings

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

3 warnings

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/google_mobile_ads-5.3.1/android/src/main/java/io/flutter/plugins/googlemobileads/AdMessageCodec.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

3 warnings

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Font asset "CupertinoIcons.ttf" was tree-shaken, reducing it from 257628 to 2160 bytes (99.2% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

Font asset "Feather.ttf" was tree-shaken, reducing it from 56228 to 1004 bytes (98.2% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

Font asset "Ionicons.ttf" was tree-shaken, reducing it from 247192 to 1208 bytes (99.5% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

Font asset "MaterialCommunityIcons.ttf" was tree-shaken, reducing it from 1147844 to 840 bytes (99.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

Font asset "MaterialIcons.ttf" was tree-shaken, reducing it from 230384 to 1416 bytes (99.4% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

Font asset "Octicons.ttf" was tree-shaken, reducing it from 49404 to 824 bytes (98.3% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 6416 bytes (99.6% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/wagnergomes/development/fitpass/build/app/outputs/mapping/release/missing_rules.txt.

ERROR: R8: Missing class com.stripe.android.pushProvisioning.PushProvisioningActivity$g (referenced from: void com.reactnativestripesdk.pushprovisioning.PushProvisioningProxy$createActivityEventListener$listener$1.onActivityResult(android.app.Activity, int, int, android.content.Intent))

Missing class com.stripe.android.pushProvisioning.PushProvisioningActivityStarter$Args (referenced from: void com.reactnativestripesdk.pushprovisioning.DefaultPushProvisioningProxy.beginPushProvisioning(android.app.Activity, java.lang.String, com.reactnativestripesdk.pushprovisioning.EphemeralKeyProvider))

Missing class com.stripe.android.pushProvisioning.PushProvisioningActivityStarter$Error (referenced from: void com.reactnativestripesdk.pushprovisioning.PushProvisioningProxy$createActivityEventListener$listener$1.onActivityResult(android.app.Activity, int, int, android.content.Intent))

Missing class com.stripe.android.pushProvisioning.PushProvisioningActivityStarter (referenced from: void com.reactnativestripesdk.pushprovisioning.DefaultPushProvisioningProxy.beginPushProvisioning(android.app.Activity, java.lang.String, com.reactnativestripesdk.pushprovisioning.EphemeralKeyProvider))

Missing class com.stripe.android.pushProvisioning.PushProvisioningEphemeralKeyProvider (referenced from: void com.reactnativestripesdk.pushprovisioning.DefaultPushProvisioningProxy.beginPushProvisioning(android.app.Activity, java.lang.String, com.reactnativestripesdk.pushprovisioning.EphemeralKeyProvider) and 1 other context)

Missing class proguard.annotation.Keep (referenced from: com.razorpay.AnalyticsEvent and 8 other contexts)

Missing class proguard.annotation.KeepClassMembers (referenced from: com.razorpay.AnalyticsEvent and 8 other contexts)

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':app:minifyReleaseWithR8'.

> A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable

   > 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 1m 59s

Running Gradle task 'bundleRelease'...                            120,3s

Gradle task bundleRelease failed with exit code 1

Process finished with exit code 1

Asked 2 days ago on August 11, 2025 1:00 AM Comments 1 times


  1. Generic placeholder image

    Fiaz replied

     

    i will check to reply
Recent Tickets
river is not receiving ri... 6 months ago on January 29, 2025 9:03 AM error sending to apple co... 1 day ago on August 12, 2025 4:21 AM error in build the app bu... 2 days ago on August 11, 2025 1:00 AM How do I translate Flutte... 4 days ago on August 8, 2025 9:23 PM Request for Guidance – Ad... 5 days ago on August 8, 2025 10:01 AM portale licenze 5 days ago on August 8, 2025 10:01 AM The application is not co... 1 week ago on August 6, 2025 1:04 PM Firestore Document Update... 1 week ago on August 5, 2025 8:02 AM Urgent: Laravel Project N... 1 week ago on August 4, 2025 6:31 AM Problem with distance cal... 2 weeks ago on July 28, 2025 10:10 PM