如何解决gradle中的抖动缺失功能?

时间:2019-05-23 20:33:26

标签: android flutter android-gradle

我下载了一个关于flutter的github项目,它给了我一个gradle错误

我检查了gradle文件,但找不到任何链接 https://github.com/londonappbrewery/Clima-Flutter

启动应用程序时出现错误,我无法运行应用程序

* Error running Gradle:

ProcessException: Process "C:\Users\Ronin\AndroidProjects2\Clima-Flutter\android\gradlew.bat" exited abnormally:


FAILURE: Build failed with an exception.


* Where:

Build file 'C:\Users\Ronin\AndroidProjects2\Clima-Flutter\android\app\build.gradle' line: 58


* What went wrong:

A problem occurred evaluating project ':app'.

> Could not find method testImplementation() for arguments [junit:junit:4.12] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.


* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.


* Get more help at https://help.gradle.org


BUİLD FAILED in 2s

  Command: C:\Users\Ronin\AndroidProjects2\Clima-Flutter\android\gradlew.bat app:properties

0 个答案:

没有答案