gpt4 book ai didi

android - 我无法在 VS 代码中运行和调试 flutter 应用程序,每当我尝试运行它时,我都会收到以下错误

转载 作者:IT王子 更新时间:2023-10-29 07:05:48 30 4
gpt4 key购买 nike

<分区>

  • 我正在使用 Flutter 0.9.4 • 测试版
  • Android Studio 3.2.1
  • VS 代码 1.28.2

每当我尝试调试和运行我的应用程序时,它都会显示以下错误消息:

enter image description here

Launching lib\main.dart on Custom Phone, 8 0, API 26, 768x1280 in debug mode...
* Error running Gradle:
Exit code 1 from: C:\Users\Ketan\Documents\Flutter\hello\android\gradlew.bat app:properties:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\Ketan\Documents\Flutter\hello\android\app\build.gradle' line: 25

* What went wrong:
A problem occurred evaluating project ':app'.
> Could not resolve all files for configuration 'classpath'.
> Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

* 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 2s
Please review your Gradle project setup in the android/ folder.

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com