请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

A problem occurred configuring project ‘:flutter_webview_plugin’.

Launching lib\main.dart on Android SDK built for x86 in debug mode…
Initializing gradle…
Resolving dependencies…

  • Error running Gradle:
    ProcessException: Process “D:\FlutterProject\flutter_trip\flutter_trip\android\gradlew.bat” exited abnormally:

Configure project :flutter_webview_plugin

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ‘:flutter_webview_plugin’.

Could not resolve all artifacts for configuration ‘:flutter_webview_plugin:classpath’.
Could not resolve org.jetbrains.kotlin:kotlin-stdlib-common:1.3.50.
Required by:
project :flutter_webview_plugin > com.android.tools.build:gradle:3.5.3 > org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.50 > org.jetbrains.kotlin:kotlin-stdlib:1.3.50
Could not resolve org.jetbrains.kotlin:kotlin-stdlib-common:1.3.50.
Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-common/1.3.50/kotlin-stdlib-common-1.3.50.pom’.
Could not GET ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-common/1.3.50/kotlin-stdlib-common-1.3.50.pom’.
Read timed out

  • 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

BUILD FAILED in 2m 19s
Command: D:\FlutterProject\flutter_trip\flutter_trip\android\gradlew.bat app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

正在回答 回答被采纳积分+3

1回答

CrazyCodeBoy 2020-02-16 22:24:19
  • 用AS 打开项目:flutter_trip\android 

  • 然后clean下之后用AS运行下项目看看

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信