【bug】Could not find method compile() 解决

 集成第三方库出现
Error:Could not find method compile() for arguments [com.android.support:design:23.4.0] on DefaultExternalModuleDependency{group='com.android.support', name='appcompat-v7', version='23.4.0', configuration='default'} of type org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency.

Please install the Android Support Repository from the Android SDK Manager.
<a href="openAndroidSdkManager">Open Android SDK Manager</a> 

 

 
项目里面多个compile放在一行出现如上问题,解决是每个compile占一行,不要都放在一行
上一篇:java计算两日期间隔小时或分钟


下一篇:Spring application context not configured for this file