6月 132020
转载请注明原文地址:http://bcoder.com/java/solution-of-flutter-could-not-resolve-io-flutterflutter_embedding_debug-error
解决办法:
打开build.gradle文件,增加如下maven仓库地址:
文字版:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
buildscript { ext.kotlin_version = '1.3.50' repositories { google() jcenter() maven { url "http://download.flutter.io" } //这里增加 } dependencies { classpath 'com.android.tools.build:gradle:3.5.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } allprojects { repositories { google() jcenter() maven { url "http://download.flutter.io" } //这里增加 } } |
Sorry, the comment form is closed at this time.