Coder.comC
Coder.com3y ago
4 replies
mox

I got error like this

Hello, I'm developing a chat app with flutter&firebase. However, I'm encountering an ERROR when trying to install it on my phone. It works smoothly when I run it on the web, in Chrome/Edge. I suspect it may be related to the build.gradle file. Could you please take a look? It's very important to me.

FAILURE: Build failed with an exception.

Where:
Build file 'C:\Users\cosmo\Documents\talkiey\android\app\build.gradle' line: 4

What went wrong:
Plugin [id: 'dev.flutter.flutter-gradle-plugin'] was not found in any of the following sources:

Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Plugin Repositories (plugin dependency must include a version number for this source)

Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Was this page helpful?