chenchengyin / likequanmintv

(#Deprecated#部分接口已失效,谢谢支持)基于MVP的Retrofit2(okhttp3)+rxjava+dagger2+greendao+glide+rtmp直播。该项目系仿全民TV,属于独立开发者作品,仅供参考学习,请勿做一切商业用途。
Apache License 2.0
1.05k stars 359 forks source link

导入项目sync失败 #1

Open Langthron opened 7 years ago

Langthron commented 7 years ago

gradle我们是一样的,gradle插件版本也改过了 错误如下: Gradle sync failed: Unable to find method 'com.android.build.gradle.api.BaseVariant.getJavaCompiler()Lorg/gradle/api/Task;'. 请问是要翻墙还是什么问题?最近在研究这个,麻烦有空回一下哈,先谢过。

翻墙重新build吧,或者用手机发射热点build会快点

Lsy1992 commented 7 years ago

我这边导入项目先是包65536错误,然后修复后又报com/google/common/annotations/Beta.class重复,无语了,不知如何处理?

chenchengyin commented 7 years ago

应该不会的, 将annotations包以来去掉试试

chenchengyin commented 7 years ago

翻墙重新build吧,或者用手机发射热点build会快点

Lsy1992 commented 7 years ago

应该是guava和annotations有冲突,但是我并没有找到整个项目中哪里有引用guava...你那边能运行起来?

chenchengyin commented 7 years ago

能啊~

Lsy1992 commented 7 years ago

:(

Langthron commented 7 years ago

@a371166028 翻墙试了还是同样的错误,我公司的网很快的,也没有任何限制,等我有空再捣鼓吧,谢了

Aload commented 7 years ago

我也跟楼主一样的问题啊.求解决

blackmamba123 commented 7 years ago

Error:Unable to find method 'com.android.build.gradle.api.BaseVariant.getJavaCompiler()Lorg/gradle/api/Task;'. Possible causes for this unexpected error include:

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.