FAILURE: Build failed with an exception, with a new Flutter project

1,597 views
Skip to first unread message

Yu Shen

unread,
Jan 31, 2020, 7:37:13 PM1/31/20
to flutt...@googlegroups.com
With a freshly installed Android Studio/Flutter SDK and a new Flutter project without changing the default code, all with the stable releases today Jan. 31, 2020, when I ran it, I got the following error message:

Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
   > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-804dca62a17ca3bea4b508bc622218f88cfcd78f.
     Required by:
         project :app
      > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-804dca62a17ca3bea4b508bc622218f88cfcd78f.
               > download.flutter.io
I tried two emulators, one with API 29, and one with API 27, both have the same error.
I have used the mirror site for Flutter (I'm not sure if it matters.)

Thanks in advance for your help!

Yu (Aaron)

J'ecrite, donc je pense. 
Je pense, donc je suis.
Reply all
Reply to author
Forward
0 new messages