谢谢,但我找到了一种方法来让它工作,在我的 build.gradle 中使用以下指令:
buildscript {
repositories {
jcenter()
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath "io.fabric.tools:gradle:1.+"
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.+'
compile ('com.twitter.sdk.android:twitter:1.1.1@aar') {
transitive = true;
}
compile ('com.twitter.sdk.android:tweet-composer:0.7.2@aar')
{
transitive = true;
}
compile project(':library')
}