Android 从github克隆项目后gradle项目同步失败
我真的需要您的帮助,我在尝试构建github项目时遇到了以下错误: [错误]:不支持的方法:GradleProject.getProjectDirectory() 这是我的身材。格雷德尔(项目) 这是build.gradle(模块:app) 这是github项目链接Android 从github克隆项目后gradle项目同步失败,android,android-studio,gradle,Android,Android Studio,Gradle,我真的需要您的帮助,我在尝试构建github项目时遇到了以下错误: [错误]:不支持的方法:GradleProject.getProjectDirectory() 这是我的身材。格雷德尔(项目) 这是build.gradle(模块:app) 这是github项目链接 这个项目真的很老了。试着克隆这个@smac89谢谢这很有帮助 // Top-level build file where you can add configuration options common to all sub-pro
这个项目真的很老了。试着克隆这个@smac89谢谢这很有帮助
// 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()
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "me.pntutorial.pnrtcblog"
minSdkVersion 15
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
// TODO: Uncomment the following compilation lines
compile 'io.pristine:libjingle:9694@aar'
compile 'com.pubnub:pubnub-android:3.7.4'
compile 'me.kevingleason:pnwebrtc:1.0.6@aar'
}