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

Android studio 导入包时出现错误Error:(1, 0) Plugin with id 'com.android.application' not found.

2017-03-09 16:32 816 查看
在下面的后面加上后面的代码即可!
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.0.0'
compile files('libs/universal-image-loader-1.9.3.jar')
compile files('libs/nineoldandroids-2.4.0.jar')
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'com.google.code.gson:gson:2.2.4'
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'//修改自己当前as 中所有的gradle版本
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}

                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐