Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to deploy on Google play (google_api_headers) #5451

Open
1 of 2 tasks
Robin-2202 opened this issue Feb 19, 2025 · 1 comment
Open
1 of 2 tasks

Unable to deploy on Google play (google_api_headers) #5451

Robin-2202 opened this issue Feb 19, 2025 · 1 comment
Assignees
Labels
status: not a bug This is not a bug.

Comments

@Robin-2202
Copy link

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

When I want to deploy my build on google play, I get this error message:

<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>

Failed Step: Build AAB with Flutter

Get package "app.kontnu.com" latest build number from track "internal" Found latest version code from "internal" track: 34 Resolving dependencies... Downloading packages... _flutterfire_internals 1.3.46 (1.3.52 available) aligned_dialog 0.0.6 (0.0.7 available) archive 3.6.1 (4.0.2 available) async 2.11.0 (2.13.0 available) barcode_widget 2.0.3 (2.0.4 available) boolean_selector 2.1.1 (2.1.2 available) characters 1.3.0 (1.4.0 available) chewie 1.8.5 (1.10.0 available) clock 1.1.1 (1.1.2 available) cloud_firestore 5.5.0 (5.6.4 available) cloud_firestore_platform_interface 6.5.0 (6.6.4 available) cloud_firestore_web 4.3.4 (4.4.4 available) cloud_functions 5.1.5 (5.3.3 available) cloud_functions_platform_interface 5.5.39 (5.6.3 available) cloud_functions_web 4.10.4 (4.10.9 available) collection 1.19.0 (1.19.1 available) csslib 0.17.3 (1.0.2 available) data_table_2 2.5.10 (2.5.18 available) ! device_info_plus 10.1.2 (overridden) (11.3.0 available) ! device_info_plus_platform_interface 7.0.1 (overridden) (7.0.2 available) easy_debounce 2.0.1 (2.0.3 available) equatable 2.0.5 (2.0.7 available) fake_async 1.3.1 (1.3.3 available) ffi 2.1.3 (2.1.4 available) file_picker 8.1.2 (9.0.0 available) firebase_analytics 11.3.5 (11.4.3 available) firebase_analytics_platform_interface 4.2.7 (4.3.3 available) firebase_analytics_web 0.5.10+4 (0.5.10+9 available) firebase_auth 5.3.3 (5.5.0 available) firebase_auth_platform_interface 7.4.9 (7.6.0 available) firebase_auth_web 5.13.4 (5.14.0 available) firebase_core 3.8.0 (3.12.0 available) firebase_core_platform_interface 5.3.0 (5.4.0 available) firebase_core_web 2.18.1 (2.21.0 available) firebase_messaging 15.1.5 (15.2.3 available) firebase_messaging_platform_interface 4.5.48 (4.6.3 available) firebase_messaging_web 3.9.4 (3.10.3 available) firebase_performance 0.10.0+10 (0.10.1+3 available) firebase_performance_platform_interface 0.1.4+46 (0.1.5+3 available) firebase_performance_web 0.1.7+4 (0.1.7+9 available) firebase_storage 12.3.2 (12.4.3 available) firebase_storage_platform_interface 5.1.33 (5.2.3 available) firebase_storage_web 3.10.5 (3.10.10 available) fl_chart 0.68.0 (0.70.2 available) flutter_animate 4.5.0 (4.5.2 available) flutter_launcher_icons 0.13.1 (0.14.3 available) flutter_lints 4.0.0 (5.0.0 available) flutter_native_splash 2.4.1 (2.4.5 available) flutter_plugin_android_lifecycle 2.0.20 (2.0.24 available) flutter_secure_storage_linux 1.2.2 (2.0.1 available) flutter_secure_storage_macos 3.1.3 (4.0.0 available) flutter_secure_storage_platform_interface 1.1.2 (2.0.1 available) flutter_secure_storage_web 1.2.1 (2.0.0 available) flutter_secure_storage_windows 3.1.2 (4.0.0 available) flutter_stripe 11.1.0 (11.4.0 available) flutter_stripe_web 6.1.0 (6.4.0 available) font_awesome_flutter 10.7.0 (10.8.0 available) go_router 12.1.3 (14.8.0 available) google_api_headers 2.0.3 (4.4.0 available) google_fonts 6.1.0 (6.2.1 available) google_sign_in 6.2.1 (6.2.2 available) google_sign_in_android 6.1.30 (6.1.35 available) google_sign_in_ios 5.7.7 (5.8.0 available) google_sign_in_web 0.12.4+2 (0.12.4+3 available) html 0.15.4 (0.15.5 available) ! http 1.2.2 (overridden) (1.3.0 available) image 4.2.0 (4.5.2 available) image_picker_android 0.8.12+13 (0.8.12+21 available) image_picker_for_web 3.0.5 (3.0.6 available) image_picker_ios 0.8.12 (0.8.12+2 available) image_picker_macos 0.2.1+1 (0.2.1+2 available) image_picker_platform_interface 2.10.0 (2.10.1 available) infinite_scroll_pagination 4.0.0 (4.1.0 available) intl 0.19.0 (0.20.2 available) js 0.6.7 (0.7.2 available) json_path 0.7.2 (0.7.5 available) leak_tracker 10.0.7 (10.0.9 available) leak_tracker_flutter_testing 3.0.8 (3.0.9 available) lints 4.0.0 (5.1.1 available) lottie 2.7.0 (3.3.1 available) matcher 0.12.16+1 (0.12.17 available) material_color_utilities 0.11.1 (0.12.0 available) meta 1.15.0 (1.16.0 available) mime 1.0.6 (2.0.0 available) mime_type 1.0.0 (1.0.1 available) open_file_manager 1.1.1 (2.0.1 available) ! package_info_plus 8.0.2 (overridden) (8.2.1 available) ! package_info_plus_platform_interface 3.0.1 (overridden) (3.1.0 available) page_transition 2.1.0 (2.2.1 available) path 1.9.0 (1.9.1 available) path_provider 2.1.4 (2.1.5 available) path_provider_android 2.2.10 (2.2.15 available) path_provider_foundation 2.4.0 (2.4.1 available) permission_handler_android 12.0.12 (12.0.13 available) permission_handler_html 0.1.3+2 (0.1.3+5 available) petitparser 6.0.2 (6.1.0 available) ! photo_view 0.15.0 (overridden) rxdart 0.27.7 (0.28.0 available) shared_preferences 2.3.2 (2.5.2 available) shared_preferences_android 2.3.2 (2.4.6 available) shared_preferences_foundation 2.5.2 (2.5.4 available) shared_preferences_web 2.4.2 (2.4.3 available) sign_in_with_apple 6.1.2 (6.1.4 available) sign_in_with_apple_web 2.1.0 (2.1.1 available) smooth_page_indicator 1.1.0 (1.2.0+3 available) source_span 1.10.0 (1.10.1 available) sqflite 2.3.3+1 (2.4.2 available) sqflite_common 2.5.4+3 (2.5.5 available) stack_trace 1.12.0 (1.12.1 available) stream_channel 2.1.2 (2.1.4 available) stream_transform 2.1.0 (2.1.1 available) string_scanner 1.3.0 (1.4.1 available) stripe_android 11.1.0 (11.4.0 available) stripe_ios 11.1.0 (11.4.0 available) stripe_js 6.1.0 (6.3.0 available) stripe_platform_interface 11.1.1 (11.4.0 available) synchronized 3.3.0+3 (3.3.1 available) table_calendar 3.1.1 (3.2.0 available) term_glyph 1.2.1 (1.2.2 available) test_api 0.7.3 (0.7.4 available) text_search 1.0.1 (1.0.2 available) timeago 3.6.1 (3.7.0 available) url_launcher 6.3.0 (6.3.1 available) url_launcher_android 6.3.10 (6.3.14 available) url_launcher_ios 6.3.1 (6.3.2 available) url_launcher_linux 3.2.0 (3.2.1 available) url_launcher_macos 3.2.1 (3.2.2 available) url_launcher_web 2.3.3 (2.4.0 available) url_launcher_windows 3.1.2 (3.1.4 available) ! uuid 4.5.1 (overridden) video_player_android 2.7.13 (2.7.17 available) video_player_avfoundation 2.6.2 (2.7.0 available) video_player_platform_interface 6.2.3 (6.3.0 available) video_player_web 2.3.2 (2.3.4 available) vm_service 14.3.0 (15.0.0 available) ! win32 5.5.1 (overridden) (5.11.0 available) win32_registry 1.1.5 (2.0.1 available) Got dependencies! 135 packages have newer versions incompatible with dependency constraints. Try `flutter pub outdated` for more information. Package google_api_headers:ios references google_api_headers:ios as the default plugin, but it does not provide an inline implementation. Ask the maintainers of google_api_headers to either avoid referencing a default implementation via `platforms: ios: default_package: google_api_headers` or add an inline implementation to google_api_headers via `platforms: ios:` `pluginClass` or `dartPluginClass`.

Package google_api_headers:linux references google_api_headers:linux as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: linux: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: linux: pluginClass or dartPluginClass.

Package google_api_headers:macos references google_api_headers:macos as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: macos: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: macos: pluginClass or dartPluginClass.

Package google_api_headers:windows references google_api_headers:windows as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: windows: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: windows: pluginClass or dartPluginClass.

Package google_api_headers:ios references google_api_headers:ios as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: ios: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: ios: pluginClass or dartPluginClass.

Package google_api_headers:linux references google_api_headers:linux as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: linux: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: linux: pluginClass or dartPluginClass.

Package google_api_headers:macos references google_api_headers:macos as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: macos: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: macos: pluginClass or dartPluginClass.

Package google_api_headers:windows references google_api_headers:windows as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: windows: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: windows: pluginClass or dartPluginClass.

Package google_api_headers:ios references google_api_headers:ios as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: ios: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: ios: pluginClass or dartPluginClass.

Package google_api_headers:linux references google_api_headers:linux as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: linux: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: linux: pluginClass or dartPluginClass.

Package google_api_headers:macos references google_api_headers:macos as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: macos: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: macos: pluginClass or dartPluginClass.

Package google_api_headers:windows references google_api_headers:windows as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: windows: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: windows: pluginClass or dartPluginClass.

Upgrading build.gradle
Running Gradle task 'bundleRelease'...
Checking the license for package Android SDK Build-Tools 33.0.1 in /usr/local/share/android-sdk/licenses
License for package Android SDK Build-Tools 33.0.1 accepted.
Preparing "Install Android SDK Build-Tools 33.0.1 v.33.0.1".
"Install Android SDK Build-Tools 33.0.1 v.33.0.1" ready.
Installing Android SDK Build-Tools 33.0.1 in /usr/local/share/android-sdk/build-tools/33.0.1
"Install Android SDK Build-Tools 33.0.1 v.33.0.1" complete.
"Install Android SDK Build-Tools 33.0.1 v.33.0.1" finished.
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.
Package google_api_headers:ios references google_api_headers:ios as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: ios: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: ios: pluginClass or dartPluginClass.

Package google_api_headers:linux references google_api_headers:linux as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: linux: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: linux: pluginClass or dartPluginClass.

Package google_api_headers:macos references google_api_headers:macos as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: macos: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: macos: pluginClass or dartPluginClass.

Package google_api_headers:windows references google_api_headers:windows as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of google_api_headers to either avoid referencing a default implementation via platforms: windows: default_package: google_api_headers or add an inline implementation to google_api_headers via platforms: windows: pluginClass or dartPluginClass.

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.
Font asset "fa-brands-400.ttf" was tree-shaken, reducing it from 207972 to 1348 bytes (99.4% 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 419720 to 1816 bytes (99.6% 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 17480 bytes (98.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processReleaseResources'.
    > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
    > Android resource linking failed
    /home/builder/clone/build/app/intermediates/packaged_manifests/release/AndroidManifest.xml:74: error: resource string/facebook_client_token (aka app.kontnu.com:string/facebook_client_token) not found.
    error: failed processing manifest.

  • 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.
    ==============================================================================

2: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':app:bundleReleaseResources'.
    > A failure occurred while executing com.android.build.gradle.internal.res.Aapt2ProcessResourcesRunnable
    > Android resource linking failed
    /home/builder/clone/build/app/intermediates/bundle_manifest/release/AndroidManifest.xml:74: error: resource string/facebook_client_token (aka app.kontnu.com:string/facebook_client_token) not found.
    error: failed processing manifest.

  • 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 6m 1s
Running Gradle task 'bundleRelease'... 362.3s
Gradle task bundleRelease failed with exit code 1

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

Expected Behavior

Back to publishing on the Google Play store

Steps to Reproduce

  1. Test to deploy to Google Play
  2. See the failed views logs

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITFXjcmAvM9OmNhE7pP2b8JVoGQwGUAaU40V0t1ETRQbCIj4B+wyeODSXFZoZOazaH9qIlejqz8z3MKPiePfO/AoCE2qf7pxws9MERPPbFGjb7KQPpGKOnN6I9NVC1SB37TUsB1QHMxhWC0+712EH9i/Ej6Cf9qOYwx5e6fDbOY=

Visual documentation

Image

Environment

- FlutterFlow version: v5.2.1 released February 14, 2025
- Platform: (Web, MacOS Desktop): Web
- Browser name and version: Chrome 132.0.6834.162
- Operating system and version affected: (desktop): macOS Sequoia 15.3

Additional Information

No response

@Robin-2202 Robin-2202 added the status: needs triage A potential issue that has not been confirmed as a bug. label Feb 19, 2025
Copy link
Collaborator

Hello! 👋

The google_api_headers is not blocking the deployment. If you check the logs carefully, the issue is due to the facebook_client_token not being found.

image.png

@Alezanello Alezanello self-assigned this Feb 19, 2025
@Alezanello Alezanello removed the status: needs triage A potential issue that has not been confirmed as a bug. label Feb 19, 2025
@Alezanello Alezanello added the status: not a bug This is not a bug. label Feb 19, 2025 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: not a bug This is not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants