FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
113 stars 19 forks source link

Execution failed for task ':app:checkReleaseDuplicateClasses'. #1954

Closed sentarou closed 8 months ago

sentarou commented 8 months ago

Has your issue been reported?

Current Behavior

I cannot generate the aab file for new applications or update a new version of one that already exists published in the Play Store

Expected Behavior

Generate the aab file as I had been doing until now, I have developed 90+ apps on the platform following the same template but since the update I have not been able to generate a new aab file and technical support has not responded to me for weeks

Steps to Reproduce

Deploy to play store

Reproducible from Blank

Bug Report Code (Required)

IT8oj8nluJd1xdtD7aXqde9VgiYXHEQjap0vku0bFQwbIuOsBIlzZ+HOU1tocMOnYHlHG1b8hmMK+cLJvvP1BO0BGw2Cf7p51ZBhQx7vcD6nV5uVCZCwZUR6FppmJnah5LWnnRNvCONwd2wQ2VOIOt+tcHPsNrrNNWoZNMqXELnJp1mqK3jWFDtV6GwJIXaaTI5ODEz25eKMrop5yfj/0w==

Context

I can't publish new applications in the play store or update any already published

Visual documentation

log: Codemagic Deploy Output Failed Step: Build AAB with Flutter

Resolving dependencies... cached_network_image 3.2.1 (3.3.0 available) cached_network_image_platform_interface 1.0.0 (3.0.0 available) cached_network_image_web 1.0.1 (1.1.0 available) collection 1.17.2 (1.18.0 available) cross_file 0.3.3+7 (0.3.3+8 available) flutter_animate 4.1.1+1 (4.3.0 available) flutter_blurhash 0.7.0 (0.8.2 available) flutter_lints 3.0.0 (3.0.1 available) go_router 7.1.1 (12.1.1 available) google_fonts 4.0.3 (6.1.0 available) google_mobile_ads 2.3.0 (3.1.0 available) http 0.13.6 (1.1.2 available) image 4.0.17 (4.1.3 available) iregexp 0.1.1 (0.1.2 available) json_path 0.6.2 (0.6.6 available) material_color_utilities 0.5.0 (0.8.0 available) meta 1.9.1 (1.11.0 available) octo_image 1.0.2 (2.0.0 available) path_provider 2.0.14 (2.1.1 available) path_provider_android 2.0.25 (2.2.1 available) path_provider_foundation 2.2.2 (2.3.1 available) path_provider_linux 2.1.11 (2.2.1 available) path_provider_platform_interface 2.0.6 (2.1.1 available) path_provider_windows 2.1.7 (2.2.1 available) petitparser 5.4.0 (6.0.2 available) provider 6.0.5 (6.1.1 available) rfc_6901 0.1.1 (0.2.0 available) shared_preferences_web 2.2.1 (2.2.2 available) sqflite 2.2.6 (2.3.0 available) stack_trace 1.11.0 (1.11.1 available) stream_channel 2.1.1 (2.1.2 available) test_api 0.6.0 (0.6.1 available) timeago 3.2.2 (3.6.0 available) url_launcher 6.1.10 (6.2.1 available) url_launcher_android 6.0.27 (6.2.0 available) url_launcher_ios 6.1.4 (6.2.1 available) url_launcher_linux 3.0.6 (3.1.0 available) url_launcher_macos 3.0.7 (3.1.0 available) url_launcher_platform_interface 2.1.2 (2.2.0 available) url_launcher_web 2.1.0 (2.2.1 available) url_launcher_windows 3.0.8 (3.1.0 available) visibility_detector 0.3.3 (0.4.0+2 available) web 0.1.4-beta (0.4.0 available) xml 6.3.0 (6.5.0 available) Got dependencies!

Upgrading build.gradle Running Gradle task 'bundleRelease'...
Font asset "CupertinoIcons.ttf" was tree-shaken, reducing it from 283452 to 912 bytes (99.7% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app. Font asset "fa-solid-900.ttf" was tree-shaken, reducing it from 394668 to 1128 bytes (99.7% 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 1464 bytes (99.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 29s Running Gradle task 'bundleRelease'... 90.0s Gradle task bundleRelease failed with exit code 1

Build failed :| Step 7 script Build AAB with Flutter exited with status code 1

Additional Info

No response

Environment

- FlutterFlow version: FlutterFlow v4.0 released December 1, 2023
- Platform: Flutter version is 3.13.7
- Browser name and version: Chrome Versión 119.0.6045.200 (Build oficial) (64 bits)
- Operating system and version affected: Windows 10
bulgariamitko commented 8 months ago

I can confirm this issue. Project - cheapest-app-d8k1q9

jpnymbl commented 8 months ago

I'm also having this issue

CsongorCsiszer commented 8 months ago

I'm having the same issue as well!

CsongorCsiszer commented 8 months ago

I got an answer from flutterflow, that I should try to set a higher version for kotlin. And it solved the problem for me. I hope it helps.

jpnymbl commented 8 months ago

@CsongorCsiszer What version did you use?

CsongorCsiszer commented 8 months ago

@jpnymbl I updated the version to 1.9.21

jpnymbl commented 8 months ago

@CsongorCsiszer That also worked for me. Thank you so much for your help!

davood-flutterflow commented 8 months ago

@hariprasadms We can Close this issue as it was related to kotlin version