从github克隆项目后gradle项目同步失败

时间:2019-12-07 09:54:50

标签: android android-studio gradle

我真的需要您的帮助,在尝试构建github项目时遇到此错误:

[错误]:不支持的方法:GradleProject.getProjectDirectory()

这是我的build.gradle(project)

select d.*, e.emp_id, e.emp_name
from dept d
inner join emp e
    on d.dept_id = e.dept_id
    and not exists (
        select 1
        from emp e1 
        where e1.dept_id = d.dept_id and e1.emp_id != e.emp_id
    )

这是build.gradle(Module:app)

// Top-level build file where you can add configuration options common to all sub-projects/modules.

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

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

这是github项目链接

https://github.com/GleasonK/android-webrtc-tutorial

0 个答案:

没有答案