我在Flutter项目中遇到了一个Gradle错误,我似乎无法解决。当我尝试构建和运行Flutter应用时,我收到以下错误:
Could not apply requested plugin [id: 'dev.flutter.flutter-gradle-plugin', version: '1.0.0'] as
it does not provide a plugin with id 'dev.flutter.flutter-gradle-plugin'. This is caused by an
incorrect plugin implementation. Please contact the plugin author(s).
> Plugin with id 'dev.flutter.flutter-gradle-plugin' not found.
字符串
此错误在我的app模块的build.gradle文件中触发,位于此行:
apply plugin: 'dev.flutter.flutter-gradle-plugin'
型
如果您需要任何进一步的信息来帮助我解决这个问题,请告诉我。谢谢!
1条答案
按热度按时间xriantvc1#
尝试升级Flutter:
字符串