美文网首页
Could not find method compile()

Could not find method compile()

作者: 是你呀小鑫 | 来源:发表于2017-04-11 20:15 被阅读0次

前几天把本地module,放到jcenter 上面作为远程应用报了这个错。

Error:Could not find method compile() for arguments [com.android.support:cardview-v7:25.3.0] on DefaultExternalModuleDependency{group='com.android.support', name='support-vector-drawable', version='25.3.0', configuration='default'} of type org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency.Please install the Android Support Repository from the Android SDK Manager.Open Android SDK Manager

找不到compile() 其中的方法。

其实这个问题很简单 ,最后发现是android 自动给build.gradle    文件配置,给换行了。。。。。  

加回车 完事 解决问题

跟大家分享一下。。

相关文章

网友评论

      本文标题:Could not find method compile()

      本文链接:https://www.haomeiwen.com/subject/rmwuattx.html