Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle sync failed: Could not find method implimentation() for arguments [com.github.bumptech.glide:glide:4.11.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Consult IDE log for more details (Help | Show Log) (684 ms) #839

Open
herob59 opened this issue Sep 27, 2020 · 4 comments

Comments

@herob59
Copy link

herob59 commented Sep 27, 2020

apply plugin: 'com.android.application'

android {
compileSdkVersion 30
buildToolsVersion '25.0.3'

defaultConfig {
    applicationId "com.hero.gadprojectaad"
    minSdkVersion 26
    targetSdkVersion 30
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    }
}
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

}

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'

///Image Library for image loading and caching

apply plugin: 'maven'
implimentation  'com.github.bumptech.glide:glide:4.11.0'
//Glide V4 uses this new annotation processor
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
//volley
implementation 'com.android.volley:volley:1.1.1'
implimentation  "androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation "com.squareup.retrofit2:retrofit:2.9.0"
implimentation  "com.squareup.retrofit2:converter-gson:2.9.0"
implementation 'androidx.recycleview:recycleview:1.1.0'
implimentation  'com.google.android.material:material:1.2.1'
implimentation  'androidx.cardview:cardview:1.0.0'

}

@herob59
Copy link
Author

herob59 commented Sep 27, 2020

Gradle sync failed: Could not find method implimentation() for arguments [com.github.bumptech.glide:glide:4.11.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

@herob59
Copy link
Author

herob59 commented Sep 27, 2020

am having a problem in the code , i need help

@herob59 herob59 closed this as completed Sep 27, 2020
@herob59 herob59 reopened this Sep 27, 2020
@amrgen81
Copy link

use api instead of implementation

api 'com.github.bumptech.glide:glide:4.11.0'

@MadhuriTratiya
Copy link

Thank you so much for suggesting to use api 'com.github.bumptech.glide:glide:4.11.0'
it's working in error
Could not find com.github.bumptech:glide:compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants