Android Studio添加第三放JAR后无法编译问题解决方案

异常提示:Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1

 

解决方案:找到build.gradle文件

在以下代码位置添加JAR声明

dependencies {
    compile files('libs/android-support-v4.jar')
    compile files('libs/新添加的JAR包名')
}

posted @ 2015-03-20 11:28  xxdotnet  阅读(239)  评论(0编辑  收藏  举报