Comments (18)
@jiantao88 有可能是因为卡在下载gradle包上,你可以挂个代理,或者修改gradle/wrapper/gradle-wrapper.properties
的distributionUrl
属性,改为国内的gradle镜像
from freeline.
@jiantao88 问题解决了吗?
from freeline.
还是没有
from freeline.
@jiantao88 会卡在0%主要还是网络的问题... 可以直接在命令行执行./gradlew assembleDebug
,看是否可以正常运行.
from freeline.
@jiantao88 可以根据我上面提供的方法配置一下,看是否可以正常下载。现在如何了呢?
from freeline.
我今天也遇到这个问题了
from freeline.
使用 ./gradlew assembleDebug --stacktrace 这个命令可以编译
from freeline.
我的是windows,可以啦
from freeline.
运行./gradlew initFreeline --stacktrace 就这样
from freeline.
@jiantao88 截图似乎有问题?在我这边看基本都是黑色的...没有内容...
from freeline.
@lomanyong 我重新发了一个
from freeline.
直接运行 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.
@jiantao88 应该是你网络的问题..你可以使用国内镜像地址下载,执行./gradlew initFreeline -Pmirror
from freeline.
@gushoubang 现在initFreeline还有什么问题呢?
from freeline.
@lomanyong 可以了 多谢,希望能有个讨论组之类的
from freeline.
@jiantao88 可以扫二维码加入我们的微信群讨论,群里有不少已经将freeline用于团队开发中了。
from freeline.
对于第一次遇见的网络问题,我也是醉了,一直卡在0%。当挂代理后,也是0%,但是最后也会下载成功,只是没有界面更新而已,希望能修正下。 网速还好的话,基本等2分钟左右差不多。
from freeline.
@gdky005 我们在README中有提到,对于国内网络下载问题的话,可以使用./gradlew initFreeline -Pmirror
,速度回快一点的。很抱歉造成困扰哈~
from freeline.
Related Issues (20)
- 我是先安装python2.7.9,然后安装你们github上的教程仔细来,然后点击android studio 上的freeline按钮,没反应.最最重要的是我用命令来执行python freeline.py多次还是和第一次执行的时间一样长,并且还没原始的run时间短?请教下怎么回事?
- WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'. It will be removed at the end of 2018. HOT 1
- Freeline 最新代码拉下来出错,无法下载1.0.0版本
- Freeline在Android Studio里面,无法搜索到,windows HOT 2
- gradle_tools.py 运行异常
- 不支持 Kotlin,一年没更新,卒。 HOT 3
- 好好的项目就这么凉了 HOT 3
- Jar Conflict about butterknife
- freeline提示No module named 'build_commands'无法运行 HOT 1
- 本地编译源代码,提示错误。com.antfortune.freeline:gradle:0.8.9-SNAPSHOT找不到
- Site offline
- 这么好的插件 怎么就凉了 HOT 3
- 纪念一下
- 与viewBinding 冲突 HOT 2
- Custom task is not recognized by jenkins
- JavaPoet Version collision With ViewBinding
- cannot use freeline in Android Studio 4.1.2, how to adapt Android Studio 4.1.2? HOT 2
- On Mac M1 ,Newest AndroidStudio "Could not find com.antfortune.freeline:gradle:0.8.8" HOT 1
- abnormal link
- 希望能够提供一个样例项目,第一步就配置不过去
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freeline.