[go: nahoru, domu]

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

Execution failed for task ':app:compileFlutterBuildDebug'. #74984

Closed
praneethpj opened this issue Jan 29, 2021 · 3 comments
Closed

Execution failed for task ':app:compileFlutterBuildDebug'. #74984

praneethpj opened this issue Jan 29, 2021 · 3 comments
Labels
in triage Presently being triaged by the triage team r: timeout Issue is closed due to author not providing the requested details in time

Comments

@praneethpj
Copy link
praneethpj commented Jan 29, 2021

Hi,
Getting following error after flutter run,
Please, anyone, have an idea to fix this?

FAILURE: Build failed with an exception.

* Where:
Script 'D:\Setups _Files\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'D:\Setups _Files\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* 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 2m 41s
Exception: Gradle task assembleDebug failed with exit code 1


**flutter doctor -v**

[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.17134.523], locale en-US)
    • Flutter version 1.22.6 at D:\Setups _Files\flutter\flutter
    • Framework revision 9b2d32b605 (7 days ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5


[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:/Users/ASUS/AppData/Local/Android/Sdk
    • Platform android-30, build-tools 29.0.3
    • ANDROID_HOME = C:/Users/ASUS/AppData/Local/Android/Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin installed
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[!] IntelliJ IDEA Ultimate Edition (version 2019.3)
    • IntelliJ at D:\Setups _Files\IdeaIU
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[√] VS Code (version 1.52.1)
    • VS Code at C:\Users\ASUS\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.14.1

[√] Connected device (1 available)
    • SM A205F (mobile) • R58M67KRC5T • android-arm64 • Android 9 (API 28)

! Doctor found issues in 2 categories.


**pubspec.yaml**

name: spagreen
description: A new Flutter application.

version: 1.0.0+1

environment:
  sdk: ">=2.10.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^0.1.3
  jitsi_meet: ^1.2.0
  flutter_bloc: ^3.2.0
  convex_bottom_bar: ^2.4.1
  dio: ^3.0.10
  hive: ^1.4.3
  hive_flutter: ^0.3.1
  built_value: ^7.1.0
  equatable: ^1.2.3
  provider: ^4.3.2
  firebase_auth: ^0.18.3+1
  flutter_facebook_login: ^3.0.0
  google_sign_in: ^4.5.1
  country_code_picker: ^1.4.0
  pin_entry_text_field: ^0.1.4
  fluttertoast: ^7.1.5
  flutter_keyboard_visibility: ^3.2.1
  intro_slider: ^2.3.1
  after_layout: ^1.0.7+2
  flutter_html: ^1.0.2
  share: ^0.6.4+3
  onesignal_flutter: ^2.6.0
  app_review: ^2.0.1
  image_picker: ^0.6.7+4
  flutter_spinkit: ^4.1.2+1
  flutter_pagewise: ^1.2.3
  admob_flutter: ^1.0.1
  connectivity: ^0.4.9
  sign_in_with_apple: ^2.5.2
  firebase_core: ^0.5.2+1
  url_launcher: ^5.0.2


dev_dependencies:
  flutter_launcher_icons: "^0.7.3"
  flutter_test:
    sdk: flutter
  hive_generator: ^0.7.0+2
  build_runner:
flutter_icons:
  android: "launcher_icon"
  ios: false
  image_path: "assets/images/android_launcher_icon.png"

# 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:
  uses-material-design: true
  assets:
    - assets/images/
    - assets/images/authImage/
    - assets/images/common/
    - assets/images/introImage/
    - assets/images/tabs/


  fonts:
    - family: NunitoSans
      fonts:
        - asset: assets/fonts/nunito_sans/NunitoSans-Black.ttf
        - asset: assets/fonts/nunito_sans/NunitoSans-BlackItalic.ttf
        - asset: assets/fonts/nunito_sans/NunitoSans-Bold.ttf
        - asset: assets/fonts/nunito_sans/NunitoSans-BoldItalic.ttf
        - asset: assets/fonts/nunito_sans/NunitoSans-ExtraBold.ttf
        - asset: assets/fonts/nunito_sans/NunitoSans-Light.ttf
        - asset: assets/fonts/nunito_sans/NunitoSans-Regular.ttf
        - asset: assets/fonts/nunito_sans/NunitoSans-SemiBold.ttf
        - asset: assets/fonts/nunito_sans/NunitoSans-SemiBoldItalic.ttf

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

@darshankawar
Copy link
Member

@praneethpj
From your log, I see there's a space between your folder name D:\Setups _Files\flutter.
Try to remove space and check again if it helps.

@darshankawar darshankawar added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Feb 1, 2021
@pedromassangocode
Copy link

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

@pedromassangocode pedromassangocode added r: timeout Issue is closed due to author not providing the requested details in time and removed waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Feb 26, 2021
@github-actions
Copy link
github-actions bot commented Aug 5, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in triage Presently being triaged by the triage team r: timeout Issue is closed due to author not providing the requested details in time
Projects
None yet
Development

No branches or pull requests

3 participants