I'm facing this problem in android studio.I have downloaded the files mentioned in links, where to put paste those file

146 Views Asked by At

Launching lib\main.dart on LS 5016 in debug mode... Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

BUILD FAILED in 27m 34s Finished with error: Gradle task assembleDebug failed with exit code 1

1

There are 1 best solutions below

0
Hellious On

When I encounter Could not resolve all artifacts for configuration ':classpath', I usually invalidate cache , restart, clean and rebuild project. Strangely, the problem is solved just like that.

Anyway, if you want to add more dependencies, you can choose File > Project Structure > Dependencies.

Hope it help!