flutter报错Could not determine the
2020-08-17 本文已影响0人
革易
网上大部分解决方案都是删.gradle,如果删除后还是报错,可以试试以下方案
文件路径 android/build.gradle
// google()
// jcenter()
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
maven { url 'http://download.flutter.io' }
*随着flutter版本不断更新,网上的安装教程也好,解决各种报错解决教程也好,都会变得有时效性,截止2020.08.14,上面解决方案有效