GithubHelp home page GithubHelp logo

Comments (11)

simplezhli avatar simplezhli commented on May 28, 2024 1

卡住的原因不一定是gradle,下载kotlin相关包也比较耗时,而且引用的三方库中的kotlin也会下载,版本多了下载时间就长了。但是我项目中已经配置了阿里云的镜像,不清楚为什么还是这么慢。你再试试用Android Studio直接打开android目录运行,右下角会有下载进度。

from flutter_deer.

simplezhli avatar simplezhli commented on May 28, 2024

@han1548772930 还是网络原因,试着注释掉

google()
mavenCentral()
google()mavenCentral()这两行再试试。

from flutter_deer.

han1548772930 avatar han1548772930 commented on May 28, 2024

还是卡在这里
gradle-7.3.3-bin.zip我手动下载放在的相应的位置
com.android.tools.build:gradle:7.2.2

from flutter_deer.

han1548772930 avatar han1548772930 commented on May 28, 2024

我的小demo
https://services.gradle.org/distributions/gradle-7.5-all.zip
com.android.tools.build:gradle:7.3.0
没什么问题

from flutter_deer.

han1548772930 avatar han1548772930 commented on May 28, 2024

我用我demo的gradle还是不行 一直卡在那里 但是demo可以运行

from flutter_deer.

han1548772930 avatar han1548772930 commented on May 28, 2024

如果我不把 -XX:MaxPermSize=1024m删除 就报这个错误了
image

from flutter_deer.

han1548772930 avatar han1548772930 commented on May 28, 2024

已经点小星星了 作者大大帮帮我 😭😭😭😭

from flutter_deer.

han1548772930 avatar han1548772930 commented on May 28, 2024

右下角疯狂下载中

from flutter_deer.

han1548772930 avatar han1548772930 commented on May 28, 2024

image
报这个错 但是 重写启动项目可以运行了
感谢 作者大大
下载了我一个小时。。。

但打开好多地方报错 Invalid image data

from flutter_deer.

simplezhli avatar simplezhli commented on May 28, 2024

@han1548772930 运行起来就好,Invalid image data是有几张图片地址失效了,是图片框架报的,不影响的。

from flutter_deer.

han1548772930 avatar han1548772930 commented on May 28, 2024

原來是作者大大故意留了几张失效的网图 我改了就正常了

from flutter_deer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.