您的位置:首页 > 移动开发 > Android开发

那些年 Android Studio 遇到的坑

2016-04-21 15:30 513 查看
1、Android Studio 导入 Library moudle

'Project' project refresh failed
Error:Plugin with id 'com.github.dcendents.android-maven' not found.

解决方案   在Project  build.gradle  文件中加入 红字部分

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'

<span style="color:#FF0000;">classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'</span>
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}


参考 http://stackoverflow.com/questions/33655292/errorplugin-with-id-com-github-dcendents-android-maven-not-found
未完待续。。。 摸索中
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: