Flutter(填坑篇)---卡在Resolving dependencies...
Dependencies
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
项目地址:https://gitcode.com/gh_mirrors/de/Dependencies

·
1.操作步骤
在项目根目录下,用 cmd 或者 powershell 运行:
.\android\gradlew
会输出以下内容:
Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details
> Task :help
Welcome to Gradle 4.10.2.
To run a build, run gradlew <task> ...
To see a list of available tasks, run gradlew tasks
To see a list of command-line options, run gradlew --help
To see more detail about a task, run gradlew help --task <task>
For troubleshooting, visit https://help.gradle.org
BUILD SUCCESSFUL in 3s
actionable task: 1 executed
Dependencies
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
项目地址:https://gitcode.com/gh_mirrors/de/Dependencies
然后再重新运行项目即可。
2.经过上面的步骤之后,如果还是不行,则是因为墙的问题了
打开 项目目录/android/build.gradle
,替换成阿里的源:
buildscript {
repositories {
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' }
// google()
// jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
}
}
allprojects {
repositories {
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' }
// google()
// jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
阅读全文
AI总结




A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
最近提交(Master分支:6 个月前 )
1997a400 - 3 年前
2f423539 - 3 年前
更多推荐
相关推荐
查看更多
Dependencies

A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
dependencies

Constructor injection designed with OOP in mind.
kira-dependencies

🐿 Kira's micro-bot to update project dependencies
热门开源项目
活动日历
查看更多
直播时间 2025-02-18 14:31:04

从数据孤岛到数据智能-企业级数据管理利器深度解析
直播时间 2025-01-16 11:36:02

《国产编程语言蓝皮书-2024》发布会
直播时间 2025-01-10 18:31:05

秒变智能化—使用MateChat为你的项目添加一个智能化助手
直播时间 2024-12-27 10:30:42

大模型时代,文学编程在墨干理工套件中的文艺复兴
直播时间 2024-12-19 14:19:29

单点登录与身份安全:TOPIAM 开发者的实战指南
所有评论(0)