【发布时间】:2016-03-10 22:00:02
【问题描述】:
我预计构建将花费大量时间,但不会像现在这样长。我开始后已经过了 8 小时(晚上 9 点 - 早上 6 点),但还没有完成。
详情:
- 我的电脑功能相对强大(专为游戏打造)
- 我广泛使用外部库,它们是:
代码:
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'org.adw.library:discrete-seekbar:1.0.0'
compile 'com.android.support:appcompat-v7:23.2.0'
compile 'com.android.support:design:23.2.0'
compile 'com.android.support:cardview-v7:23.2.0'
compile 'com.android.support:recyclerview-v7:23.2.0'
compile 'com.android.support:support-v13:23.2.0'
compile 'com.android.support:gridlayout-v7:23.2.0'
compile 'com.android.support:support-v4:23.2.0'
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.flipboard:bottomsheet-core:1.5.0'
compile 'com.flipboard:bottomsheet-commons:1.5.0'
compile 'com.guerwan:transitionbackport:1.1'
compile 'com.nhaarman.listviewanimations:lib-manipulation:3.1.0@aar'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.ogaclejapan.smarttablayout:library:1.6.0@aar'
compile 'com.github.traex.rippleeffect:library:1.3'
compile 'asia.ivity.android:drag-sort-listview:1.0'
compile 'org.adw.library:discrete-seekbar:1.0.0'
compile 'com.liulishuo.filedownloader:library:0.1.9'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'com.github.castorflex.smoothprogressbar:library:1.0.1-SNAPSHOT@aar'
compile 'org.jetbrains:annotations-java5:15.0'
问题:
为什么会这样?有没有办法把它最小化?或者它甚至是正常的而不是一个错误?谢谢。
【问题讨论】:
-
这不正常。你的连接速度很慢吗?尝试重启 Android Studio?
-
我的 DL 平均速度为 2-3 Mbps,UL 为 0.4 - 0.7 Mbps。这么慢吗?
-
不应该是我只是想知道是否有所有依赖项,下载这些第三方库需要一段时间。有什么工作吗?构建应该需要几分钟,具体取决于 comp.. 你的规格是什么?
-
我认为网速不是问题,我可以在一天内轻松下载 GB 的文件。
-
我得到了核心 i5 作为 CPU、6GB RAM 和充足的存储空间。
标签: android gradle build proguard