我正在尝试导入两个Android支持库。我正在将GoogleMaps AP2实现到我的Android应用程序中。因此,我需要这两个库。我正在使用Android Studio和Gradle。
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
apt "org.androidannotations:androidannotations:$AAVersion"
compile "org.androidannotations:androidannotations-api:$AAVersion"
compile 'com.android.support:appcompat-v7:21.0.+'
// compile 'com.google.android.gms:play-services:6.1.+'
compile "com.android.support:support-v13:18.0.+"
compile "com.loopj.android:android-async-http:1.4.5"
repositories {
mavenCentral()
}
compile "com.github.chrisbanes.actionbarpulltorefresh:library:+"
compile 'joda-time:joda-time:2.5'
}
错误信息如下:
Module version com.android.support:support-v13:18.0.0 depends on libraries but is not a library itself
compile "com.android.support:support-v13:21.0.+"
。 - pdegand59