Failed to deploy to Google Play Store

Project Settings

Hi there,

I'm not beeing able to deploy my apps to Google Play.

I'm facing these error:

Failed Step: Build AAB with Flutter

Warning: Using environment variable GCLOUD_SERVICE_ACCOUNT_CREDENTIALS to define argument value is deprecated and will be removed in a future release. Use environment variable GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS instead. Get package "br.com.strozi.catalogoleme" latest build number from track "internal" Failed to get version code from "internal" track: releases with version code do not exist Version code info is missing from track "internal" for package "br.com.strozi.catalogoleme" Resolving dependencies... Downloading packages... flutterfireinternals 1.3.56 (1.3.61 available) archive 3.6.1 (4.0.7 available) characters 1.4.0 (1.4.1 available) file_picker 10.1.9 (10.3.2 available) firebase_core 3.14.0 (4.1.0 available) firebase_core_platform_interface 5.4.0 (6.0.0 available) firebase_core_web 2.23.0 (3.1.0 available) firebase_performance 0.10.1+7 (0.11.0+1 available) firebase_performance_platform_interface 0.1.5+7 (0.1.5+12 available) firebase_performance_web 0.1.7+13 (0.1.7+18 available) flutter_animate 4.5.0 (4.5.2 available) flutter_launcher_icons 0.13.1 (0.14.4 available) flutter_lints 4.0.0 (6.0.0 available) flutter_plugin_android_lifecycle 2.0.28 (2.0.30 available) font_awesome_flutter 10.7.0 (10.10.0 available) go_router 12.1.3 (16.2.1 available) google_fonts 6.1.0 (6.3.1 available) ! http 1.4.0 (overridden) (1.5.0 available) image 4.2.0 (4.5.4 available) iregexp 0.1.2 (0.2.0 available) json_path 0.7.2 (0.8.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) page_transition 2.1.0 (2.2.1 available) path_provider 2.1.4 (2.1.5 available) path_provider_android 2.2.10 (2.2.18 available) path_provider_foundation 2.4.0 (2.4.2 available) petitparser 6.1.0 (7.0.1 available) pointer_interceptor_web 0.10.2+1 (0.10.3 available) provider 6.1.5 (6.1.5+1 available) shared_preferences_android 2.4.10 (2.4.12 available) sqflite 2.3.3+1 (2.4.2 available) sqflite_common 2.5.4+3 (2.5.6 available) test_api 0.7.4 (0.7.7 available) url_launcher 6.3.1 (6.3.2 available) url_launcher_android 6.3.16 (6.3.18 available) url_launcher_ios 6.3.3 (6.3.4 available) url_launcher_macos 3.2.2 (3.2.3 available) ! uuid 4.5.1 (overridden) vector_math 2.1.4 (2.2.0 available) vm_service 15.0.0 (15.0.2 available) webview_flutter_android 4.7.0 (4.10.1 available) webview_flutter_platform_interface 2.13.1 (2.14.0 available) webview_flutter_wkwebview 3.22.0 (3.23.0 available) xml 6.5.0 (6.6.1 available) Got dependencies! 48 packages have newer versions incompatible with dependency constraints. Try flutter pub outdated for more information. Upgrading build.gradle Running Gradle task 'bundleRelease'... Warning: Observed package id 'cmdline-tools;latest' in inconsistent location '/usr/local/share/android-sdk/cmdline-tools/latest-2' (Expected '/usr/local/share/android-sdk/cmdline-tools/latest') Warning: Observed package id 'cmdline-tools;latest' in inconsistent location '/usr/local/share/android-sdk/cmdline-tools/latest-2' (Expected '/usr/local/share/android-sdk/cmdline-tools/latest') Checking the license for package NDK (Side by side) 27.0.12077973 in /usr/local/share/android-sdk/licenses License for package NDK (Side by side) 27.0.12077973 accepted. Preparing "Install NDK (Side by side) 27.0.12077973 v.27.0.12077973". "Install NDK (Side by side) 27.0.12077973 v.27.0.12077973" ready. Installing NDK (Side by side) 27.0.12077973 in /usr/local/share/android-sdk/ndk/27.0.12077973 "Install NDK (Side by side) 27.0.12077973 v.27.0.12077973" complete. "Install NDK (Side by side) 27.0.12077973 v.27.0.12077973" finished. Warning: Observed package id 'cmdline-tools;latest' in inconsistent location '/usr/local/share/android-sdk/cmdline-tools/latest-2' (Expected '/usr/local/share/android-sdk/cmdline-tools/latest') Checking the license for package Android SDK Platform 35 in /usr/local/share/android-sdk/licenses License for package Android SDK Platform 35 accepted. Preparing "Install Android SDK Platform 35 (revision 2)". "Install Android SDK Platform 35 (revision 2)" ready. Installing Android SDK Platform 35 in /usr/local/share/android-sdk/platforms/android-35 "Install Android SDK Platform 35 (revision 2)" complete. "Install Android SDK Platform 35 (revision 2)" finished. Font asset "CupertinoIcons.ttf" was tree-shaken, reducing it from 257628 to 848 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 1420 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. What went wrong: Execution failed for task ':app:signReleaseBundle'. > A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable > Failed to read key ******* from store "/tmp/keystore.keystore": toDerInputStream rejects tag type 123 * 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 5m 34s Running Gradle task 'bundleRelease'... 334.7s Gradle task bundleRelease failed with exit code 1 Build failed :| Step 7 script Build AAB with Flutter exited with status code 1

What have you tried so far?

I followed the video tutorial and created the credentials. So I sent the credentials to Flutter Flow.

As I couldn't download the AAB file from Flutter Flow, so I created an empty project in Kodular and uploaded the AAB file from Kodular to the Play Store.

Did you check FlutterFlow's Documentation for this topic?
Yes
1
6 replies