2016-09-10 8 views
0

私は新しいアプリを輸入し、私はGradleの(アンドロイドスタジオ)から次のエラーを取得する:が解決に失敗しました:com.afollestad:材料・ダイアログ:0.6.0

Failed to resolve: com.afollestad:material-dialogs:0.6.0 

ここに私のGradleファイルです

apply plugin: 'com.android.application' 

android { 
    compileSdkVersion 21 
    buildToolsVersion "21.1.2" 

    defaultConfig { 
     applicationId "com.pongodev.recipesapp" 
     minSdkVersion 11 
     targetSdkVersion 21 
     versionCode 5 
     versionName "3.0.3" 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 
} 

dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 

    // Main libraries, you always need this libraries in your project. do not remove them. 
    compile 'com.android.support:appcompat-v7:21.0.3' 
    compile 'com.android.support:support-v4:21.0.3' 
    compile 'com.google.android.gms:play-services:6.5.87' 

    // Important library to create material design. do not remove this. 
    compile project(':materialDesign') 

    // Library to create tabbar 
    compile 'com.jpardogo.materialtabstrip:library:1.0.6' 

    // Library to create ripple effect. work together with materialDesign library. 
    compile 'com.github.traex.rippleeffect:library:1.2.2' 

    // Library to create rounded, circle, and any shape image. 
    compile 'com.makeramen:roundedimageview:1.4.0' 

    // Library load lazy images. 
    compile 'com.squareup.picasso:picasso:2.4.0' 

    // Library to create simple list. 
    compile 'com.android.support:recyclerview-v7:21.0.0' 

    // Library to create complex clickable list. 
    compile 'com.android.support:cardview-v7:21.0.3' 

    // Library to create material dialog. 
    compile 'com.afollestad:material-dialogs:0.6.0' 

    // Library to create animation imageview. 
    compile 'com.flaviofaria:kenburnsview:1.0.5' 

} 

どうすればこの問題を解決できますか?

+0

は、コンパイルしてください「com.afollestad.material-ダイアログを:コア:0.9.0.1」 – sJy

+0

私はエラーの束を取得しないときhttp://uploadpie.com/NWAgY –

+0

は少なくとも23.0にあなたのビルドツールを更新します.0。現在、それはあなたのgradleの21.1.2です。 – sJy

答えて

0

プラグインを適用する: 'com.android.application'

アンドロイド{ compileSdkVersion 25 buildToolsVersion '25 .0.3'

defaultConfig { 
    applicationId "com.my.app" 
    minSdkVersion 11 
    targetSdkVersion 25 
    versionCode 5 
    versionName "3.0.3" 
} 
buildTypes { 
    release { 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
    } 
} 

}

依存関係{ はfileTree(DIRをコンパイル。 'libs'、['* .jar'])

// Main libraries, you always need this libraries in your project. do not remove them. 
compile 'com.android.support:appcompat-v7:25.3.1' 
compile 'com.android.support:support-v4:25.3.1' 
compile 'com.google.android.gms:play-services:6.5.87' 

// Important library to create material design. do not remove this. 
compile project(':materialDesign') 

// Library to create tabbar 
compile 'com.jpardogo.materialtabstrip:library:1.0.6' 

// Library to create ripple effect. work together with materialDesign library. 
compile 'com.github.traex.rippleeffect:library:1.2.2' 

// Library to create rounded, circle, and any shape image. 
compile 'com.makeramen:roundedimageview:1.4.0' 

// Library load lazy images. 
compile 'com.squareup.picasso:picasso:2.4.0' 

// Library to create simple list. 
compile 'com.android.support:recyclerview-v7:25.3.1' 

// Library to create complex clickable list. 
compile 'com.android.support:cardview-v7:25.3.1' 

// Library to create material dialog. 
compile 'com.afollestad.material-dialogs:core:0.9.0.1' 

// Library to create animation imageview. 
compile 'com.flaviofaria:kenburnsview:1.0.5' 

}

関連する問題