我正在尝试使用amlcurran / showcaseview库,我正在关注this教程,但我无法解析库:
Error:(29, 13) Failed to resolve: com.github.amlcurran.showcaseview:library:5.0.0
这是我的build.gradle(项目)文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.wolverine.showcasetutorial"
minSdkVersion 9
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
maven { url "http://jcenter.bintray.com" }
mavenCentral()
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.github.amlcurran.showcaseview:library:5.0.0'
}
请帮我解决这个问题。
答案 0 :(得分:0)
将此清单文件
添加<uses-sdk tools:overrideLibrary="com.github.amlcurran.showcaseview"/>