CoverFlow is pushed to Maven Central as a AAR, so you just need to add the it's dependency to local build.gradle (usually locate in app module). Because of this libary is build in the min-sdk is 15, so your project must set same as it:
が、私はこのライブラリを使用しようとすると、私はこのエラーには解決に失敗しました:com.github.moondroid.coverflow:ライブラリ:1.0
を得ましたが解決に失敗しました:com.githubを.moondroid.coverflow:ライブラリは:1.0
これは私のGradleある
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.example.maysara.theproject"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile 'com.github.moondroid.coverflow:library:1.0'
compile 'com.android.support:cardview-v7:23.0.1'
}
'minSdkVersion 15' –
mavenCentral()リポジトリかjcenter()を使用していますか? – Egor
mavenCentral()とjcenter() – Maysara