GithubHelp home page GithubHelp logo

Comments (18)

lomanyong avatar lomanyong commented on April 28, 2024

@jiantao88 有可能是因为卡在下载gradle包上,你可以挂个代理,或者修改gradle/wrapper/gradle-wrapper.propertiesdistributionUrl属性,改为国内的gradle镜像

from freeline.

lomanyong avatar lomanyong commented on April 28, 2024

@jiantao88 问题解决了吗?

from freeline.

jiantao88 avatar jiantao88 commented on April 28, 2024

还是没有

from freeline.

lomanyong avatar lomanyong commented on April 28, 2024

@jiantao88 会卡在0%主要还是网络的问题... 可以直接在命令行执行./gradlew assembleDebug,看是否可以正常运行.

from freeline.

lomanyong avatar lomanyong commented on April 28, 2024

@jiantao88 可以根据我上面提供的方法配置一下,看是否可以正常下载。现在如何了呢?

from freeline.

xiaogu-space avatar xiaogu-space commented on April 28, 2024

我今天也遇到这个问题了

from freeline.

jiantao88 avatar jiantao88 commented on April 28, 2024

使用 ./gradlew assembleDebug --stacktrace 这个命令可以编译

from freeline.

xiaogu-space avatar xiaogu-space commented on April 28, 2024

我的是windows,可以啦

from freeline.

jiantao88 avatar jiantao88 commented on April 28, 2024

image

运行./gradlew initFreeline --stacktrace 就这样

from freeline.

lomanyong avatar lomanyong commented on April 28, 2024

@jiantao88 截图似乎有问题?在我这边看基本都是黑色的...没有内容...

from freeline.

jiantao88 avatar jiantao88 commented on April 28, 2024

@lomanyong 我重新发了一个

from freeline.

xiaogu-space avatar xiaogu-space commented on April 28, 2024

直接运行 gradlew assembleDebug --stacktrace

直截了最后一部分

warning: Ignoring InnerClasses attribute for an anonymous inner class
(com.umeng.socialize.view.h) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is not an inner class.
:app:vdsDeinstrumentTask
[vds.info] Rewriter jar path: C:\Users\xg.gradle\caches\modules-2\files-2.1\com.growingio.android\vds-class-rewriter\0.9.90\1d82021fe529aac77292258d134d359d5ca3095f\vds-class-rewriter-0.9.90.jar
:app:mergeXiaomiDebugJniLibFolders UP-TO-DATE
:app:transformNative_libsWithMergeJniLibsForXiaomiDebug UP-TO-DATE
:app:processXiaomiDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForXiaomiDebug
:app:validateDebugSigning
:app:packageXiaomiDebug
:app:zipalignXiaomiDebug
[vds.info] Instrumentation disabled, no agent present. Command: zipalign.exe
:app:assembleXiaomiDebug
:app:assembleDebug

BUILD SUCCESSFUL

Total time: 2 mins 1.727 secs

from freeline.

lomanyong avatar lomanyong commented on April 28, 2024

@jiantao88 应该是你网络的问题..你可以使用国内镜像地址下载,执行./gradlew initFreeline -Pmirror

from freeline.

lomanyong avatar lomanyong commented on April 28, 2024

@gushoubang 现在initFreeline还有什么问题呢?

from freeline.

jiantao88 avatar jiantao88 commented on April 28, 2024

@lomanyong 可以了 多谢,希望能有个讨论组之类的

from freeline.

lomanyong avatar lomanyong commented on April 28, 2024

@jiantao88 可以扫二维码加入我们的微信群讨论,群里有不少已经将freeline用于团队开发中了。

from freeline.

gdky005 avatar gdky005 commented on April 28, 2024

对于第一次遇见的网络问题,我也是醉了,一直卡在0%。当挂代理后,也是0%,但是最后也会下载成功,只是没有界面更新而已,希望能修正下。 网速还好的话,基本等2分钟左右差不多。

from freeline.

lomanyong avatar lomanyong commented on April 28, 2024

@gdky005 我们在README中有提到,对于国内网络下载问题的话,可以使用./gradlew initFreeline -Pmirror,速度回快一点的。很抱歉造成困扰哈~

from freeline.

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.