Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动报错 #69

Open
B1nnnn opened this issue Apr 8, 2020 · 0 comments
Open

启动报错 #69

B1nnnn opened this issue Apr 8, 2020 · 0 comments

Comments

@B1nnnn
Copy link

B1nnnn commented Apr 8, 2020

Launching lib\main.dart on MI 8 Lite in debug mode...
Running Gradle task 'assembleDebug'...
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 'E:\FlutterDouBan-master-new\FlutterDouBan-master-new\android\app\build.gradle' line: 25

  • What went wrong:
    A problem occurred evaluating project ':app'.

Could not resolve all artifacts for configuration 'classpath'.
Could not download layoutlib-api.jar (com.android.tools.layoutlib:layoutlib-api:26.5.0)
> Could not get resource 'https://maven.aliyun.com/repository/google/com/android/tools/layoutlib/layoutlib-api/26.5.0/layoutlib-api-26.5.0.jar'.
> Could not HEAD 'https://maven.aliyun.com/repository/google/com/android/tools/layoutlib/layoutlib-api/26.5.0/layoutlib-api-26.5.0.jar'.
> Read timed out
Could not download repository.jar (com.android.tools:repository:26.5.0)
> Could not get resource 'https://maven.aliyun.com/repository/google/com/android/tools/repository/26.5.0/repository-26.5.0.jar'.
> Could not HEAD 'https://maven.aliyun.com/repository/google/com/android/tools/repository/26.5.0/repository-26.5.0.jar'.
> Read timed out
Could not download protos.jar (com.android.tools.analytics-library:protos:26.5.0)
> Could not get resource 'https://maven.aliyun.com/repository/google/com/android/tools/analytics-library/protos/26.5.0/protos-26.5.0.jar'.
> Could not HEAD 'https://maven.aliyun.com/repository/google/com/android/tools/analytics-library/protos/26.5.0/protos-26.5.0.jar'.
> Read timed out
Could not download jaxb-core.jar (org.glassfish.jaxb:jaxb-core:2.2.11)
> Could not get resource 'https://maven.aliyun.com/repository/jcenter/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar'.
> Could not HEAD 'https://maven.aliyun.com/repository/jcenter/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar'.
> 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 42s
Finished with error: Gradle task assembleDebug failed with exit code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant