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:flutterDependenciesDebug'. #14972

Closed
myronrogersrogersgmailcom opened this issue Feb 28, 2018 · 2 comments
Closed

Comments

@myronrogersrogersgmailcom

Write my_app example app on windows 10 using Android Studio. Run app or Debug app.

Launching lib\main.dart on Nexus 5 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...

Oops; flutter has exited unexpectedly.
Crash report written to C:\Users\owner\AndroidstudioProjects\my_app\flutter_06.log;
please let us know at https://github.com/flutter/flutter/issues.

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 421

  • What went wrong:
    Execution failed for task ':app:flutterDependenciesDebug'.

Process 'command 'C:\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.

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

BUILD FAILED in 6s
Finished with error: Gradle build failed: 1
[!] Flutter (on Microsoft Windows [Version 10.0.16299.248], locale en-US, channel beta)
• Flutter version 0.1.4 at C:\flutter
• Framework revision f914e70 (9 days ago), 2018-02-19 21:12:17 +0000
• Engine revision 13cf22c
• Dart version 2.0.0-dev.27.0-flutter-0d5cf900b0
X Downloaded executables cannot execute on host (see #6207 for more information)

[√] Android toolchain - develop for Android devices (Android SDK 27.0.2)
• Android SDK at C:\Users\owner\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] Android Studio (version 3.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[!] IntelliJ IDEA Community Edition (version 2017.3)
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.io/intellij-setup/#installing-the-plugins

[√] Connected devices
• Nexus 5 • 037bb12f2152a091 • android-arm • Android 5.0 (API 21)

! Doctor found issues in 2 categories.

@myronrogersrogersgmailcom
Copy link
Author

I was able to resolve this by selecting tools|flutter|flutter upgrade. I am closing this issue.

@github-actions
Copy link

github-actions bot commented Sep 3, 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 Sep 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant