当前位置:   article > 正文

flutter环境搭建及其遇到的坑_flutter could not download kotlin-reflect-1.9.20.j

flutter could not download kotlin-reflect-1.9.20.jar (org.jetbrains.kotlin:k

总的来说需要的也就4样东西,找齐了配置一下就OK;

遇到的问题:

  • 不能下载插件 问题

    File->Settings->Apparence & Behavior->System Settings->Updates->use secure connnection
    
    勾去掉
    
    • 1
    • 2
    • 3
  • 文件加载失败,换阿里镜像

    * Error running Gradle:
    ProcessException: Process "E:\flutter\demo\flutter_app\android\gradlew.bat" exited abnormally:
    Starting a Gradle Daemon (subsequent builds will be faster)
    
    > Configure project :app
    
    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:\flutter\demo\flutter_app\android\app\build.gradle' line: 26
    
    * What went wrong:
    A problem occurred evaluating project ':app'.
    > Could not resolve all artifacts for configuration 'classpath'.
       > Could not download kotlin-reflect.jar (org.jetbrains.kotlin:kotlin-reflect:1.2.0)
          > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.2.0/kotlin-reflect-1.2.0.jar'.
             &g
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/841780
推荐阅读
相关标签
  

闽ICP备14008679号