Execution failed for task ':app:minifyReleaseWithR8' while running flutter build apk

This issue has been tracked since 2022-09-23.

I am trying to build a release apk but it fails with the mentioned error
even though the debug works fine on an actual device
tried both gradle 6.7.0 and 7.5.1

Error logs
* What went wrong:
Execution failed for task ':app:minifyReleaseWithR8'.
> com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: C:\Users\Tharaweto\Desktop\3.2.0\app\cirilla\build\webview_pro_android\intermediates\runtime_library_
classes_jar\release\classes.jar:io/flutter/plugins/webviewflutter/GeneratedAndroidWebView$WebViewClientHostApiCodec.class

* 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 10m 7s
Running Gradle task 'assembleRelease'...                          611.4s

┌─ Flutter Fix ──────────────────────────────────────────────────────────────┐
│ [!] The shrinker may have failed to optimize the Java bytecode.            │
│ To disable the shrinker, pass the `--no-shrink` flag to this command.      │
│ To learn more, see: https://developer.android.com/studio/build/shrink-code │
└────────────────────────────────────────────────────────────────────────────┘
Gradle task assembleRelease failed with exit code 1
pubsec.yaml
name: cirilla
description: Cirilla - Multipurpose Flutter App For Wordpress & Woocommerce

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: '>=2.17.1 <3.0.0'

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.4
  google_fonts: ^2.1.0

  # Appcheap.io build in dependencies
  ui:
    path: ../ui
  gutenberg_blocks:
    path: ../gutenberg_blocks
  awesome_drawer_bar: ^1.0.0
  awesome_bottom_bar: ^1.2.1
  feather_icons: ^1.2.0
  awesome_icons: ^1.1.0
  #calendar
  table_calendar: ^3.0.6

  # Wraps platform-specific persistent storage for simple data
  shared_preferences: ^2.0.11
  shared_preferences_web: ^2.0.2

  # State-management library
  mobx: ^2.0.5
  flutter_mobx: ^2.0.2

  # A wrapper around InheritedWidget to make them easier to use and more reusable.
  provider: ^6.0.1

  # A powerful Http client for Dart
  dio: ^4.0.4

  # A set of cryptographic hashing functions implemented in pure Dart
  crypto: ^3.0.1

  # A collection of loading indicators animated with flutter
  flutter_spinkit: ^5.1.0

  json_annotation: ^4.4.0

  # Slideshow and image gallery
  flutter_swiper:
    git: https://github.com/AppCheap/flutter_swiper

  dotted_border: ^2.0.0+1

  # A Flutter plugin that provides a Google Maps widget.
  google_maps_flutter: ^2.1.1
  google_maps_flutter_web: ^0.3.2

  # A Flutter plugin for launching a URL.
  url_launcher: ^6.0.17

  # Firebase
  firebase_core: ^1.22.0
  firebase_auth: ^3.8.0
  firebase_messaging: ^13.0.1
  firebase_messaging_web: ^3.1.4
  firebase_analytics: ^9.3.4
  firebase_database: ^9.1.4
  firebase_dynamic_links: ^4.3.7

  # A cross platform plugin for displaying local notifications.
  flutter_local_notifications: ^8.1.1

  # Package generate pin code fields with beautiful design and animations
  pin_code_fields: ^7.3.0

  # Sign In Google
  google_sign_in: ^5.0.7

  # Sign In Apple
  sign_in_with_apple: ^4.0.0

  # Sign In facebook
  flutter_facebook_auth: ^4.0.1

  # Text animations
  animated_text_kit: ^4.2.1

  # Webview flutter
  flutter_webview_pro: ^3.0.1+2

  # Format date time
  intl: ^0.17.0

  # Share content
  share: ^2.0.4

  # Shimmer loading
  shimmer: ^2.0.0

  # Play audio
  just_audio: ^0.9.28

  # Run audio and video in background
  # audio_service: ^0.18.0

  # Cache image
  cached_network_image: ^3.2.1

  # A Flutter widget for rendering HTML and CSS as Flutter widgets.
  flutter_html: ^3.0.0-alpha.5
  flutter_html_all:
    path: ./packages/flutter_html_all

  flutter_sticky_header: ^0.6.0

  html_unescape: ^2.0.0
  collection: ^1.15.0
  in_app_review: ^2.0.4

  # Access to platform specific location services
  geolocator: ^9.0.1
  google_geocoding: ^0.2.0
  image_picker: ^0.8.4+4

  flutter_chat_ui: ^1.6.0
  chewie: ^1.3.0
  video_player: ^2.2.18
  html: ^0.15.0
  flutter_chat_types: ^3.4.1
  rxdart: ^0.27.3
  convert: ^3.0.1
  photo_view: ^0.14.0
  audio_session: ^0.1.6+1
  http: ^0.13.4
  path_provider: ^2.0.10
  iframe_view:
    path: ./plugins/iframe_view
  flutter_colorpicker: ^1.0.3
  # Code Scanner
  flutter_barcode_scanner: ^2.0.0
  # Payment gateway
  payment_base:
    path: ./packages/payment_base
dev_dependencies:
  flutter_test:
    sdk: flutter

  build_runner: ^2.1.5
  mobx_codegen: ^2.0.4
  json_serializable: ^6.1.1

  # App's launcher icon
  flutter_launcher_icons: ^0.9.1

  # The "flutter_lints" package below contains a set of recommended lints to
  # encourage good coding practices. The lint set provided by the package is
  # activated in the `analysis_options.yaml` file located at the root of your
  # package. See that file for information about deactivating specific lint
  # rules and activating additional ones.
  flutter_lints: ^2.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages
  assets:
    - assets/lang/
    - assets/images/
    - assets/images/payment/
    - google_fonts/
flutter doctor -v
[√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [Version 10.0.22000.978], locale en-US)
    • Flutter version 3.3.2 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e3c29ec00c (9 days ago), 2022-09-14 08:46:55 -0500
    • Engine revision a4ff2c53d8
    • Dart version 2.18.1
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\Tharaweto\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.71.0)
    • VS Code at C:\Users\Tharaweto\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (4 available)
    • Infinix X688B (mobile) • H659X688B0123456 • android-arm64  • Android 11 (API 30)
    • Windows (desktop)      • windows          • windows-x64    • Microsoft Windows [Version 10.0.22000.978]
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 104.0.5112.102
    • Edge (web)             • edge             • web-javascript • Microsoft Edge 105.0.1343.42

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
exaby73 wrote this answer on 2022-09-23

Hello @ahmedtsadek. Could you please provide the complete logs of flutter build apk -v?

ahmedtsadek wrote this answer on 2022-09-23

hello @exaby73 thanks for your reply here is the complete log as requested but I can't get it from the beginning as it's too long

[        ] Transforming firebase-components-17.0.0.aar (com.google.firebase:firebase-components:17.0.0) with AarToClassTransform
[        ] Transforming transport-backend-cct-3.1.6.aar (com.google.android.datatransport:transport-backend-cct:3.1.6) with JetifyTransform
[        ] Transforming transport-backend-cct-3.1.6.aar (com.google.android.datatransport:transport-backend-cct:3.1.6) with AarToClassTransform
[        ] Transforming transport-backend-cct-3.1.6.aar (com.google.android.datatransport:transport-backend-cct:3.1.6) with JetifyTransform
[        ] Transforming transport-backend-cct-3.1.6.aar (com.google.android.datatransport:transport-backend-cct:3.1.6) with AarToClassTransform
[        ] Transforming transport-runtime-3.1.6.aar (com.google.android.datatransport:transport-runtime:3.1.6) with JetifyTransform
[        ] Transforming transport-runtime-3.1.6.aar (com.google.android.datatransport:transport-runtime:3.1.6) with AarToClassTransform
[        ] Transforming transport-runtime-3.1.6.aar (com.google.android.datatransport:transport-runtime:3.1.6) with JetifyTransform
[        ] Transforming transport-runtime-3.1.6.aar (com.google.android.datatransport:transport-runtime:3.1.6) with AarToClassTransform
[        ] Transforming transport-runtime-3.1.6.aar (com.google.android.datatransport:transport-runtime:3.1.6) with JetifyTransform
[        ] Transforming transport-runtime-3.1.6.aar (com.google.android.datatransport:transport-runtime:3.1.6) with AarToClassTransform
[        ] Transforming transport-api-3.0.0.aar (com.google.android.datatransport:transport-api:3.0.0) with JetifyTransform
[        ] Transforming transport-api-3.0.0.aar (com.google.android.datatransport:transport-api:3.0.0) with AarToClassTransform
[        ] Transforming transport-api-3.0.0.aar (com.google.android.datatransport:transport-api:3.0.0) with JetifyTransform
[   +1 ms] Transforming transport-api-3.0.0.aar (com.google.android.datatransport:transport-api:3.0.0) with AarToClassTransform
[   +1 ms] Transforming transport-api-3.0.0.aar (com.google.android.datatransport:transport-api:3.0.0) with JetifyTransform
[   +4 ms] Transforming transport-api-3.0.0.aar (com.google.android.datatransport:transport-api:3.0.0) with AarToClassTransform
[        ] Transforming transport-api-3.0.0.aar (com.google.android.datatransport:transport-api:3.0.0) with JetifyTransform
[        ] Transforming transport-api-3.0.0.aar (com.google.android.datatransport:transport-api:3.0.0) with AarToClassTransform
[        ] Transforming firebase-encoders-json-18.0.0.aar (com.google.firebase:firebase-encoders-json:18.0.0) with JetifyTransform
[        ] Transforming firebase-encoders-json-18.0.0.aar (com.google.firebase:firebase-encoders-json:18.0.0) with AarToClassTransform
[        ] Transforming firebase-encoders-json-18.0.0.aar (com.google.firebase:firebase-encoders-json:18.0.0) with JetifyTransform
[        ] Transforming firebase-encoders-json-18.0.0.aar (com.google.firebase:firebase-encoders-json:18.0.0) with AarToClassTransform
[        ] Transforming firebase-encoders-proto-16.0.0.jar (com.google.firebase:firebase-encoders-proto:16.0.0) with JetifyTransform
[        ] Transforming firebase-encoders-proto-16.0.0.jar (com.google.firebase:firebase-encoders-proto:16.0.0) with IdentityTransform
[        ] Transforming firebase-encoders-17.0.0.jar (com.google.firebase:firebase-encoders:17.0.0) with JetifyTransform
[        ] Transforming firebase-encoders-17.0.0.jar (com.google.firebase:firebase-encoders:17.0.0) with IdentityTransform
[        ] Transforming lifecycle-viewmodel-savedstate-2.3.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.3.0) with JetifyTransform
[        ] Transforming lifecycle-viewmodel-savedstate-2.3.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.3.0) with AarToClassTransform
[        ] Transforming savedstate-1.1.0.aar (androidx.savedstate:savedstate:1.1.0) with JetifyTransform
[        ] Transforming savedstate-1.1.0.aar (androidx.savedstate:savedstate:1.1.0) with AarToClassTransform
[        ] Transforming lifecycle-livedata-2.0.0.aar (androidx.lifecycle:lifecycle-livedata:2.0.0) with JetifyTransform
[        ] Transforming lifecycle-livedata-2.0.0.aar (androidx.lifecycle:lifecycle-livedata:2.0.0) with AarToClassTransform
[        ] Transforming lifecycle-livedata-core-2.3.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.3.0) with JetifyTransform
[        ] Transforming lifecycle-livedata-core-2.3.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.3.0) with AarToClassTransform
[        ] Transforming lifecycle-livedata-core-2.3.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.3.0) with JetifyTransform
[        ] Transforming lifecycle-livedata-core-2.3.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.3.0) with AarToClassTransform
[        ] Transforming lifecycle-common-2.3.1.jar (androidx.lifecycle:lifecycle-common:2.3.1) with JetifyTransform
[        ] Transforming lifecycle-common-2.3.1.jar (androidx.lifecycle:lifecycle-common:2.3.1) with IdentityTransform
[        ] Transforming core-runtime-2.1.0.aar (androidx.arch.core:core-runtime:2.1.0) with JetifyTransform
[        ] Transforming core-runtime-2.1.0.aar (androidx.arch.core:core-runtime:2.1.0) with AarToClassTransform
[        ] Transforming core-runtime-2.1.0.aar (androidx.arch.core:core-runtime:2.1.0) with JetifyTransform
[        ] Transforming core-runtime-2.1.0.aar (androidx.arch.core:core-runtime:2.1.0) with AarToClassTransform
[   +1 ms] Transforming core-common-2.1.0.jar (androidx.arch.core:core-common:2.1.0) with JetifyTransform
[        ] Transforming core-common-2.1.0.jar (androidx.arch.core:core-common:2.1.0) with IdentityTransform
[        ] Transforming documentfile-1.0.0.aar (androidx.documentfile:documentfile:1.0.0) with JetifyTransform
[        ] Transforming documentfile-1.0.0.aar (androidx.documentfile:documentfile:1.0.0) with AarToClassTransform
[        ] Transforming print-1.0.0.aar (androidx.print:print:1.0.0) with JetifyTransform
[        ] Transforming print-1.0.0.aar (androidx.print:print:1.0.0) with AarToClassTransform
[        ] Transforming lifecycle-viewmodel-2.3.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.3.0) with JetifyTransform
[        ] Transforming lifecycle-viewmodel-2.3.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.3.0) with AarToClassTransform
[        ] Transforming lifecycle-viewmodel-2.3.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.3.0) with JetifyTransform
[        ] Transforming lifecycle-viewmodel-2.3.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.3.0) with AarToClassTransform
[        ] Transforming annotation-1.4.0.jar (androidx.annotation:annotation:1.4.0) with JetifyTransform
[        ] Transforming annotation-1.4.0.jar (androidx.annotation:annotation:1.4.0) with IdentityTransform
[        ] Transforming gson-2.8.6.jar (com.google.code.gson:gson:2.8.6) with JetifyTransform
[        ] Transforming gson-2.8.6.jar (com.google.code.gson:gson:2.8.6) with IdentityTransform
[        ] Transforming threetenabp-1.2.3.aar (com.jakewharton.threetenabp:threetenabp:1.2.3) with JetifyTransform
[        ] Transforming threetenabp-1.2.3.aar (com.jakewharton.threetenabp:threetenabp:1.2.3) with AarToClassTransform
[        ] Transforming guava-31.0.1-android.jar (com.google.guava:guava:31.0.1-android) with JetifyTransform
[        ] Transforming guava-31.0.1-android.jar (com.google.guava:guava:31.0.1-android) with IdentityTransform
[        ] Transforming core-1.10.0.aar (com.google.android.play:core:1.10.0) with JetifyTransform
[        ] Transforming core-1.10.0.aar (com.google.android.play:core:1.10.0) with AarToClassTransform
[        ] Transforming kotlin-stdlib-1.6.21.jar (org.jetbrains.kotlin:kotlin-stdlib:1.6.21) with JetifyTransform
[        ] Transforming kotlin-stdlib-1.6.21.jar (org.jetbrains.kotlin:kotlin-stdlib:1.6.21) with IdentityTransform
[        ] Transforming annotation-experimental-1.1.0.aar (androidx.annotation:annotation-experimental:1.1.0) with JetifyTransform
[        ] Transforming annotation-experimental-1.1.0.aar (androidx.annotation:annotation-experimental:1.1.0) with AarToClassTransform
[        ] Transforming threetenbp-1.4.2-no-tzdb.jar (org.threeten:threetenbp:1.4.2) with JetifyTransform
[        ] Transforming threetenbp-1.4.2-no-tzdb.jar (org.threeten:threetenbp:1.4.2) with IdentityTransform
[        ] Transforming failureaccess-1.0.1.jar (com.google.guava:failureaccess:1.0.1) with JetifyTransform
[        ] Transforming failureaccess-1.0.1.jar (com.google.guava:failureaccess:1.0.1) with IdentityTransform
[        ] Transforming listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar (com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava) with JetifyTransform
[        ] Transforming listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar (com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava) with IdentityTransform
[        ] Transforming jsr305-3.0.2.jar (com.google.code.findbugs:jsr305:3.0.2) with JetifyTransform
[        ] Transforming jsr305-3.0.2.jar (com.google.code.findbugs:jsr305:3.0.2) with IdentityTransform
[        ] Transforming checker-compat-qual-2.5.5.jar (org.checkerframework:checker-compat-qual:2.5.5) with JetifyTransform
[        ] Transforming checker-compat-qual-2.5.5.jar (org.checkerframework:checker-compat-qual:2.5.5) with IdentityTransform
[        ] Transforming error_prone_annotations-2.9.0.jar (com.google.errorprone:error_prone_annotations:2.9.0) with JetifyTransform
[        ] Transforming error_prone_annotations-2.9.0.jar (com.google.errorprone:error_prone_annotations:2.9.0) with IdentityTransform
[        ] Transforming j2objc-annotations-1.3.jar (com.google.j2objc:j2objc-annotations:1.3) with JetifyTransform
[        ] Transforming j2objc-annotations-1.3.jar (com.google.j2objc:j2objc-annotations:1.3) with IdentityTransform
[        ] Transforming constraintlayout-solver-2.0.1.jar (androidx.constraintlayout:constraintlayout-solver:2.0.1) with JetifyTransform
[        ] Transforming constraintlayout-solver-2.0.1.jar (androidx.constraintlayout:constraintlayout-solver:2.0.1) with IdentityTransform
[        ] Transforming installreferrer-1.0.aar (com.android.installreferrer:installreferrer:1.0) with JetifyTransform
[        ] Transforming installreferrer-1.0.aar (com.android.installreferrer:installreferrer:1.0) with AarToClassTransform
[        ] Transforming core-3.3.3.jar (com.google.zxing:core:3.3.3) with JetifyTransform
[   +1 ms] Transforming core-3.3.3.jar (com.google.zxing:core:3.3.3) with IdentityTransform
[        ] Transforming kotlin-stdlib-common-1.6.21.jar (org.jetbrains.kotlin:kotlin-stdlib-common:1.6.21) with JetifyTransform
[        ] Transforming kotlin-stdlib-common-1.6.21.jar (org.jetbrains.kotlin:kotlin-stdlib-common:1.6.21) with IdentityTransform
[        ] Transforming annotations-13.0.jar (org.jetbrains:annotations:13.0) with JetifyTransform
[        ] Transforming annotations-13.0.jar (org.jetbrains:annotations:13.0) with IdentityTransform
[        ] Transforming firebase-annotations-16.0.0.jar (com.google.firebase:firebase-annotations:16.0.0) with JetifyTransform
[        ] Transforming firebase-annotations-16.0.0.jar (com.google.firebase:firebase-annotations:16.0.0) with IdentityTransform
[        ] Transforming javax.inject-1.jar (javax.inject:javax.inject:1) with JetifyTransform
[        ] Transforming javax.inject-1.jar (javax.inject:javax.inject:1) with IdentityTransform
[        ] Transforming checker-qual-3.12.0.jar (org.checkerframework:checker-qual:3.12.0) with JetifyTransform
[        ] Transforming checker-qual-3.12.0.jar (org.checkerframework:checker-qual:3.12.0) with IdentityTransform
[        ] Caching disabled for task ':app:minifyReleaseWithR8' because:
[        ]   Build cache is disabled
[        ] Task ':app:minifyReleaseWithR8' is not up-to-date because:
[        ]   Task has failed previously.
[        ] R8 is a new Android code shrinker. If you experience any issues, please file a bug at
[        ] https://issuetracker.google.com, using 'Shrinker (R8)' as component name. You can
[        ] disable R8 by updating gradle.properties with 'android.enableR8=false'.
[        ] Current version is: 2.1.62 (build 29be6bb54a16003076dca279f3a30ebedcb04d67 from go/r8bot (luci-r8-custom-ci-xenial-12-8ga0)).
[        ] Task :app:minifyReleaseWithR8 in app Finished
[        ] :app:minifyReleaseWithR8 (Thread[Execution worker for ':' Thread 4,5,main]) completed. Took 6.303 secs.
[        ] AAPT2 aapt2-4.1.0-6503028-windows Daemon #0: shutdown
[        ] AAPT2 aapt2-4.1.0-6503028-windows Daemon #1: shutdown
[        ] AAPT2 aapt2-4.1.0-6503028-windows Daemon #2: shutdown
[        ] AAPT2 aapt2-4.1.0-6503028-windows Daemon #3: shutdown
[        ] AAPT2 aapt2-4.1.0-6503028-windows Daemon #4: shutdown
[        ] AAPT2 aapt2-4.1.0-6503028-windows Daemon #5: shutdown
[        ] AAPT2 aapt2-4.1.0-6503028-windows Daemon #6: shutdown
[        ] C:\Users\Tharaweto\Desktop\3.2.0\app\cirilla\build\webview_pro_android\intermediates\runtime_library_classes_jar\release\classes.jar: R8: Type
io.flutter.plugins.webviewflutter.GeneratedAndroidWebView$WebViewClientHostApiCodec is defined multiple times:
C:\Users\Tharaweto\Desktop\3.2.0\app\cirilla\build\webview_pro_android\intermediates\runtime_library_classes_jar\release\classes.jar:io/flutter/plugins/webviewflutter/GeneratedAndroidWebView$W
ebViewClientHostApiCodec.class,
C:\Users\Tharaweto\Desktop\3.2.0\app\cirilla\build\webview_flutter_android\intermediates\runtime_library_classes_jar\release\classes.jar:io/flutter/plugins/webviewflutter/GeneratedAndroidWebVi
ew$WebViewClientHostApiCodec.class
[        ] FAILURE: Build failed with an exception.
[        ] * What went wrong:
[        ] Execution failed for task ':app:minifyReleaseWithR8'.
[        ] > com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin:
C:\Users\Tharaweto\Desktop\3.2.0\app\cirilla\build\webview_pro_android\intermediates\runtime_library_classes_jar\release\classes.jar:io/flutter/plugins/webviewflutter/GeneratedAndroidWebView$W
ebViewClientHostApiCodec.class
[        ] * Try:
[        ] Run with --debug option to get more log output. Run with --scan to get full insights.
[        ] * Exception is:
[        ] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:minifyReleaseWithR8'.
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:200)
[        ]      at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:198)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:179)
[        ]      at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
[        ]      at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
[        ]      at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
[        ]      at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
[   +1 ms]      at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
[   +3 ms]      at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
[   +5 ms]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
[        ]      at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
[        ]      at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
[   +1 ms]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:372)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:359)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:352)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:338)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
[        ]      at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
[        ]      at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
[        ]      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[        ]      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[        ]      at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
[        ]      at java.base/java.lang.Thread.run(Thread.java:829)
[        ] Caused by: org.gradle.internal.UncheckedException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin:
C:\Users\Tharaweto\Desktop\3.2.0\app\cirilla\build\webview_pro_android\intermediates\runtime_library_classes_jar\release\classes.jar:io/flutter/plugins/webviewflutter/GeneratedAndroidWebView$W
ebViewClientHostApiCodec.class
[        ]      at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:67)
[        ]      at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
[        ]      at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:107)
[        ]      at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
[        ]      at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
[        ]      at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.run(ExecuteActionsTaskExecuter.java:555)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
[        ]      at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:540)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:523)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:108)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:271)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:260)
[        ]      at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$1(ExecuteStep.java:34)
[        ]      at java.base/java.util.Optional.orElseGet(Optional.java:369)
[   +1 ms]      at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:34)
[        ]      at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
[        ]      at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:67)
[        ]      at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:36)
[        ]      at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:49)
[        ]      at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:34)
[        ]      at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:43)
[        ]      at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
[        ]      at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
[        ]      at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:44)
[        ]      at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:54)
[        ]      at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:38)
[        ]      at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:42)
[        ]      at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:159)
[        ]      at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:72)
[        ]      at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:43)
[        ]      at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:44)
[        ]      at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:33)
[        ]      at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
[        ]      at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
[        ]      at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:92)
[        ]      at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:85)
[        ]      at java.base/java.util.Optional.map(Optional.java:265)
[        ]      at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
[        ]      at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)
[        ]      at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)
[        ]      at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
[        ]      at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
[        ]      at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
[        ]      at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:94)
[        ]      at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:49)
[        ]      at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:79)
[        ]      at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:53)
[        ]      at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)
[        ]      at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:78)
[        ]      at java.base/java.util.Optional.orElseGet(Optional.java:369)
[        ]      at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:78)
[        ]      at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
[        ]      at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:39)
[        ]      at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:40)
[        ]      at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:28)
[        ]      at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:187)
[   +1 ms]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:179)
[   +6 ms]      at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
[        ]      at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
[        ]      at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
[        ]      at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
[        ]      at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
[        ]      at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
[        ]      at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
[        ]      at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:372)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:359)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:352)
[   +1 ms]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:338)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
[        ]      at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
[        ]      at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
[        ]      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[        ]      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[        ]      at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
[        ]      at java.base/java.lang.Thread.run(Thread.java:829)
[        ] Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin:
C:\Users\Tharaweto\Desktop\3.2.0\app\cirilla\build\webview_pro_android\intermediates\runtime_library_classes_jar\release\classes.jar:io/flutter/plugins/webviewflutter/GeneratedAndroidWebView$W
ebViewClientHostApiCodec.class
[        ]      at Version.fakeStackEntry(Version_2.1.62.java:0)
[        ]      at com.android.tools.r8.utils.Y.a(SourceFile:78)
[        ]      at com.android.tools.r8.R8.a(R8.java:36)
[        ]      at com.android.tools.r8.R8.run(R8.java:3)
[        ]      at com.android.builder.dexing.R8Tool.runR8(r8Tool.kt:259)
[        ]      at com.android.build.gradle.internal.tasks.R8Task$Companion.shrink(R8Task.kt:474)
[        ]      at com.android.build.gradle.internal.tasks.R8Task.doTaskAction(R8Task.kt:335)
[        ]      at com.android.build.gradle.internal.tasks.NonIncrementalTask$taskAction$$inlined$recordTaskAction$1.invoke(AndroidVariantTask.kt:74)
[        ]      at com.android.build.gradle.internal.tasks.NonIncrementalTask$taskAction$$inlined$recordTaskAction$1.invoke(AndroidVariantTask.kt:34)
[        ]      at com.android.build.gradle.internal.tasks.Blocks.recordSpan(Blocks.java:91)
[        ]      at com.android.build.gradle.internal.tasks.NonIncrementalTask.taskAction(NonIncrementalTask.kt:57)
[        ]      at jdk.internal.reflect.GeneratedMethodAccessor386.invoke(Unknown Source)
[        ]      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[        ]      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[        ]      at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
[        ]      ... 100 more
[        ] Caused by: com.android.tools.r8.utils.b: Type io.flutter.plugins.webviewflutter.GeneratedAndroidWebView$WebViewClientHostApiCodec is defined multiple times:
C:\Users\Tharaweto\Desktop\3.2.0\app\cirilla\build\webview_pro_android\intermediates\runtime_library_classes_jar\release\classes.jar:io/flutter/plugins/webviewflutter/GeneratedAndroidWebView$W
ebViewClientHostApiCodec.class,
C:\Users\Tharaweto\Desktop\3.2.0\app\cirilla\build\webview_flutter_android\intermediates\runtime_library_classes_jar\release\classes.jar:io/flutter/plugins/webviewflutter/GeneratedAndroidWebVi
ew$WebViewClientHostApiCodec.class
[   +5 ms]      at com.android.tools.r8.utils.T0.error(SourceFile:1)
[        ]      at com.android.tools.r8.utils.T0.a(SourceFile:2)
[        ]      at com.android.tools.r8.utils.R0.b(SourceFile:6)
[        ]      at com.android.tools.r8.utils.R0.a(SourceFile:24)
[        ]      at com.android.tools.r8.utils.R0.a(SourceFile:10)
[        ]      at java.base/java.util.concurrent.ConcurrentHashMap.merge(ConcurrentHashMap.java:2048)
[        ]      at com.android.tools.r8.utils.R0.a(SourceFile:6)
[        ]      at com.android.tools.r8.graph.O0$c.f(SourceFile:3)
[        ]      at com.android.tools.r8.dex.a.a(SourceFile:294)
[        ]      at com.android.tools.r8.dex.a.a(SourceFile:222)
[        ]      at com.android.tools.r8.R8.a(R8.java:48)
[        ]      at com.android.tools.r8.R8.c(R8.java:1)
[        ]      at com.android.tools.r8.R8.b(R8.java:1)
[        ]      at com.android.tools.r8.utils.Y.a(SourceFile:36)
[        ]      ... 113 more
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 7m 6s
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 612 actionable tasks: 526 executed, 86 up-to-date
[ +569 ms] Running Gradle task 'assembleRelease'... (completed in 543.9s)
[   +7 ms]
           ┌─ Flutter Fix ──────────────────────────────────────────────────────────────┐
           │ [!] The shrinker may have failed to optimize the Java bytecode.            │
           │ To disable the shrinker, pass the `--no-shrink` flag to this command.      │
           │ To learn more, see: https://developer.android.com/studio/build/shrink-code │
           └────────────────────────────────────────────────────────────────────────────┘
           
[   +9 ms] "flutter apk" took 546,049ms.
[   +8 ms] Gradle task assembleRelease failed with exit code 1
[   +1 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:446:7)
           <asynchronous suspension>
           #2      AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:184:5)
           <asynchronous suspension>
           #3      BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:109:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>
           
           
[ +257 ms] ensureAnalyticsSent: 255ms
[   +5 ms] Running shutdown hooks
[   +1 ms] Shutdown hooks complete
[   +9 ms] exiting with code 1

exaby73 wrote this answer on 2022-09-26

The error looks like it's being caused by webview_pro_android. Could you confirm that removing this plugin fixes this issue?

ahmedtsadek wrote this answer on 2022-09-26

yes the webview_pro was causing the problem I tested with flutter_webview and the problem was solved

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2022-09-30
Star Count 145381
Watcher Count 3565
Fork Count 23363
Issue Count 11208

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date