爱笔记爱笔记

Flutter run卡着不动无反应 报错

buildscript {
    repositories {
        //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" }
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.3.0'
    }
}

allprojects {
    repositories {
        //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" }
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

作者:WANKUN
链接:https://juejin.cn/post/7431575543684546594
来源:稀土掘金

gradle-8.3
https://services.gradle.org/distributions/

新建flutter项目并运行在雷电模拟器上
https://blog.csdn.net/m0_68094390/article/details/130440107

Flutter卡在Running ‘gradle assembleDebug
https://blog.csdn.net/kitagawa_myouya/article/details/139719240
https://blog.csdn.net/zhangyiminsunshine/article/details/111137877
https://blog.csdn.net/m0_48571414/article/details/129622696

Flutter windows 环境配置
https://blog.csdn.net/DDDHL_/article/details/135188905

Android cmdline tools安装
https://blog.csdn.net/qq_42901723/article/details/136751505

本原创文章未经允许不得转载 | 当前页面:爱笔记 » Flutter run卡着不动无反应 报错