【发布时间】:2016-09-28 21:25:13
【问题描述】:
当我向我的 android studio 项目添加一些依赖项时出现此错误........我做错了什么?
请参阅下面的代码。提前致谢。
repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.google.android.gms:play-services:8.3.0'
compile 'org.json:json:20141113'
// This library handles authentication and authorization
compile 'com.spotify.sdk:spotify-auth-beta22-noconnect-2.20b@aar'
// This library handles music playback
compile 'com.spotify.sdk:spotify-player-beta22-noconnect-2.20b@aar'
// All other dependencies for your app should also be here:
compile 'com.android.support:appcompat-v7:23.1.1'
}
【问题讨论】:
-
post 错误也与 post 一起,来自 post
get this error,这将检查 logcat -
@PavneetSingh 我不明白您的评论。请问您是什么意思?
-
发布您的日志猫,并分享您的 build.gradle(模块项目)
-
好的,谢谢...我会的
标签: java android android-studio dependencies