alibaba / freeline

A super fast build tool for Android, an alternative to Instant Run
https://www.freelinebuild.com/
BSD 3-Clause "New" or "Revised" License
5.48k stars 623 forks source link

APT1.8和freeline不兼容 #713

Open hiperioncn opened 7 years ago

hiperioncn commented 7 years ago

在项目中使用了freeline,同时使用了android-apt,想把android-apt从1.6升级到1.8, 但发现gradle同步时报错,注释掉apply plugin: 'com.antfortune.freeline',则可正常进行gradle 同步,请教一下这是什么问题? Gradle 'APP' project refresh failed Error:Index: 0, Size: 0

yinshudi commented 7 years ago

我的 apt 版本也是1.8,可以正常使用.你贴下错误日志吧.没有日志提 issue 是没有意义的.

lomanyong commented 7 years ago

@hiperioncn 最好是有错误日志...

apt 很久没有更新了,一直用的 1.8 版本的貌似也没有类似的问题.

hiperioncn commented 7 years ago

错误日志就这一句, Gradle 'APP' project refresh failed Error:Index: 0, Size: 0

lomanyong commented 7 years ago

@hiperioncn 工程是否存在没有flavor的情况?可否发一份带--stacktrace的日志呢?

hiperioncn commented 7 years ago

没有使用flavor,只发布到了google play上。 带--stacktrace的日志也是只有这一句日志。 我把AndroidStudio的log上传一份吧, idea.txt