Sean Schroeder
ย ยทย Entrepreneur || Builder

Android Build Failing Repeatedly

Troubleshooting

I've been trying to deploy an Android build for a few days and get seem to get past this error. Is anyone else seeing this? Can anyone point me in the right direction to hopefully resolve it?

<body style="background-color:#14161C">

<style>

body {

color:#C8C8C8;

overflow-x: hidden;

padding-top: 0px;

padding-right: 5px;

padding-bottom: 5px;

padding-left: 5px;

font-family: monaco;

}

h4 {

margin-bottom: 4px;

font-weight: bold;

color: #DF3F3F;

}

</style>

<h4>Failed Step: Build AAB with Flutter</h4>

<div style="white-space: pre-wrap;line-height: 1.5">

<span style="color:#268BD2">Get package "com.happyladders.flutterflow" latest build number from track "internal"</span>

Found latest version code from "internal" track: 123

Resolving dependencies...

Downloading packages...

flutterfireinternals 1.3.33 (1.3.43 available)

aligned_dialog 0.0.6 (0.0.7 available)

cached_network_image 3.3.1 (3.4.1 available)

cached_network_image_platform_interface 4.0.0 (4.1.1 available)

cached_network_image_web 1.2.0 (1.3.1 available)

chewie 1.8.1 (1.8.5 available)

cloud_firestore 4.17.3 (5.4.2 available)

cloud_firestore_platform_interface 6.2.3 (6.4.2 available)

cloud_firestore_web 3.12.3 (4.3.1 available)

cloud_functions 4.7.4 (5.1.2 available)

cloud_functions_platform_interface 5.5.26 (5.5.36 available)

cloud_functions_web 4.9.4 (4.10.1 available)

collection 1.18.0 (1.19.0 available)

csslib 0.17.3 (1.0.0 available)

data_table_2 2.5.10 (2.5.15 available)

device_info_plus 9.1.0 (10.1.2 available)

device_info_plus_platform_interface 7.0.0 (7.0.1 available)

easy_debounce 2.0.1 (2.0.3 available)

file_picker 8.0.3 (8.1.2 available)

firebase_analytics 10.10.5 (11.3.2 available)

firebase_analytics_platform_interface 3.10.6 (4.2.4 available)

firebase_analytics_web 0.5.7+5 (0.5.10+1 available)

firebase_app_check 0.2.2+5 (0.3.1+2 available)

firebase_app_check_platform_interface 0.1.0+27 (0.1.0+37 available)

firebase_app_check_web 0.1.2+5 (0.1.3+1 available)

firebase_auth 4.19.5 (5.3.0 available)

firebase_auth_platform_interface 7.2.6 (7.4.6 available)

firebase_auth_web 5.11.5 (5.13.1 available)

firebase_core 2.31.0 (3.5.0 available)

firebase_core_platform_interface 5.0.0 (5.3.0 available)

firebase_core_web 2.17.0 (2.18.1 available)

firebase_crashlytics 3.5.5 (4.1.2 available)

firebase_crashlytics_platform_interface 3.6.33 (3.6.43 available)

firebase_messaging 14.9.2 (15.1.2 available)

firebase_messaging_platform_interface 4.5.35 (4.5.45 available)

firebase_messaging_web 3.8.5 (3.9.1 available)

firebase_performance 0.9.4+5 (0.10.0+7 available)

firebase_performance_platform_interface 0.1.4+33 (0.1.4+43 available)

firebase_performance_web 0.1.6+5 (0.1.7+1 available)

firebase_storage 11.7.5 (12.3.1 available)

firebase_storage_platform_interface 5.1.20 (5.1.30 available)

firebase_storage_web 3.9.5 (3.10.1 available)

flutter_cache_manager 3.3.1 (3.4.1 available)

flutter_launcher_icons 0.13.1 (0.14.1 available)

flutter_native_splash 2.3.1 (2.4.1 available)

flutter_plugin_android_lifecycle 2.0.20 (2.0.22 available)

flutter_spinkit 5.2.0 (5.2.1 available)

go_router 12.1.3 (14.2.7 available)

google_fonts 6.1.0 (6.2.1 available)

google_generative_ai 0.1.0 (0.4.6 available)

google_identity_services_web 0.2.2 (0.3.1+4 available)

google_sign_in 6.1.5 (6.2.1 available)

google_sign_in_android 6.1.20 (6.1.30 available)

google_sign_in_ios 5.7.6 (5.7.7 available)

google_sign_in_platform_interface 2.4.2 (2.4.5 available)

google_sign_in_web 0.12.1 (0.12.4+2 available)

! http 1.2.1 (overridden) (1.2.2 available)

http_parser 4.0.2 (4.1.0 available)

image 4.0.17 (4.2.0 available)

image_picker 1.0.4 (1.1.2 available)

image_picker_android 0.8.8 (0.8.12+13 available)

image_picker_for_web 3.0.1 (3.0.5 available)

image_picker_ios 0.8.8+2 (0.8.12 available)

image_picker_platform_interface 2.9.1 (2.10.0 available)

internet_connection_checker_plus 1.0.1 (2.5.2 available)

js 0.6.7 (0.7.1 available)

json_path 0.7.2 (0.7.4 available)

leak_tracker 10.0.4 (10.0.7 available)

leak_tracker_flutter_testing 3.0.3 (3.0.8 available)

lottie 2.7.0 (3.1.2 available)

material_color_utilities 0.8.0 (0.12.0 available)

meta 1.12.0 (1.16.0 available)

mime_type 1.0.0 (1.0.1 available)

path_provider 2.1.3 (2.1.4 available)

path_provider_android 2.2.5 (2.2.10 available)

percent_indicator 4.2.2 (4.2.3 available)

permission_handler 11.3.0 (11.3.1 available)

photo_view 0.14.0 (0.15.0 available)

! pointer_interceptor 0.10.1 (overridden) (0.10.1+2 available)

rive 0.12.2 (0.13.13 available)

rive_common 0.2.8 (0.4.11 available)

rxdart 0.27.7 (0.28.0 available)

shared_preferences 2.2.2 (2.3.2 available)

shared_preferences_android 2.2.1 (2.3.2 available)

shared_preferences_foundation 2.3.4 (2.5.2 available)

shared_preferences_linux 2.3.2 (2.4.1 available)

shared_preferences_platform_interface 2.3.1 (2.4.1 available)

shared_preferences_web 2.2.1 (2.4.2 available)

shared_preferences_windows 2.3.2 (2.4.1 available)

sign_in_with_apple 4.3.0 (6.1.2 available)

sign_in_with_apple_platform_interface 1.0.0 (1.1.0 available)

sign_in_with_apple_web 1.0.1 (2.1.0 available)

smooth_page_indicator 1.1.0 (1.2.0+3 available)

sqflite 2.2.6 (2.3.3+1 available)

sqflite_common 2.5.4 (2.5.4+3 available)

string_scanner 1.2.0 (1.3.0 available)

synchronized 3.1.0 (3.3.0+2 available)

test_api 0.7.0 (0.7.3 available)

timeago 3.6.1 (3.7.0 available)

twilio_flutter 0.0.9 (0.9.0 available)

url_launcher_android 6.3.4 (6.3.10 available)

! uuid 4.5.0 (overridden)

video_player 2.8.6 (2.9.1 available)

video_player_android 2.4.16 (2.7.3 available)

video_player_web 2.3.1 (2.3.2 available)

vm_service 14.2.1 (14.2.5 available)

web 0.5.1 (1.0.0 available)

webview_flutter 4.7.0 (4.9.0 available)

webview_flutter_android 3.15.0 (3.16.7 available)

webview_flutter_wkwebview 3.12.0 (3.15.0 available)

! win32 5.5.1 (overridden) (5.5.4 available)

Got dependencies!

110 packages have newer versions incompatible with dependency constraints.

Try flutter pub outdated for more information.

Upgrading build.gradle

Running Gradle task 'bundleRelease'...

Checking the license for package Android SDK Platform 34 in /usr/local/share/android-sdk/licenses

License for package Android SDK Platform 34 accepted.

Preparing "Install Android SDK Platform 34 (revision: 3)".

"Install Android SDK Platform 34 (revision: 3)" ready.

Installing Android SDK Platform 34 in /usr/local/share/android-sdk/platforms/android-34

"Install Android SDK Platform 34 (revision: 3)" complete.

"Install Android SDK Platform 34 (revision: 3)" finished.

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

Note: Recompile with -Xlint:deprecation for details.

Note: /Users/builder/.pub-cache/hosted/pub.dev/flutter_uxcam-2.5.5/android/src/main/java/com/uxcam/flutteruxcam/FlutterUxcamPlugin.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: /Users/builder/.pub-cache/hosted/pub.dev/flutter_uxcam-2.5.5/android/src/main/java/com/uxcam/flutteruxcam/FlutterUxcamPlugin.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked 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.

Font asset "fa-brands-400.ttf" was tree-shaken, reducing it from 207972 to 1280 bytes (99.4% 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 13088 bytes (99.2% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

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

ERROR:/Users/builder/.gradle/caches/transforms-3/e6e4fe031a1b0b021e88052913d61404/transformed/jetified-tracking-3.11.2-runtime.jar: R8: com.android.tools.r8.internal.Hc: Sealed classes are not supported as program classes

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':app:minifyReleaseWithR8'.

&gt; A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable

&gt; Compilation failed to complete, origin: /Users/builder/.gradle/caches/transforms-3/e6e4fe031a1b0b021e88052913d61404/transformed/jetified-tracking-3.11.2-runtime.jar:io/customer/sdk/data/model/Region.class

* Try:

&gt; Run with --stacktrace option to get the stack trace.

&gt; Run with --info or --debug option to get more log output.

&gt; Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 9m 41s

Running Gradle task 'bundleRelease'... 582.8s

โ”Œโ”€ 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 bundleRelease failed with exit code 1

Build failed :|

Step 8 script Build AAB with Flutter exited with status code 1

</div>

</body>

What have you tried so far?

Not really anything. Not sure where to start.

Did you check FlutterFlow's Documentation for this topic?
Yes
4
3 replies