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