How can I fix these errors about not being able to find dependencies when compiling project in android?












6















I'm getting these errors when I try and build my project, it looks like it thinks I have 2 of the same library, but I'm not sure why:



Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.room:room-testing:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.room:room-testing:2.1.0-alpha02.
Open File
Show Details


This is my build.gradle file



apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion '28.0.3'

defaultConfig {
applicationId "com.andydaykin.timer"
minSdkVersion 24
targetSdkVersion 28
versionCode 1
versionName "1.0"

}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
dexOptions {
// release & debug is in project animators
matchingFallbacks = ['release', 'debug']
}
debug {
debuggable true
}
}
compileOptions {
targetCompatibility 1.10
sourceCompatibility 1.10
}
}

allprojects {
repositories {
google()
jcenter()
maven { url 'https://maven.google.com' }
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'

implementation ('androidx.legacy:legacy-support-core-utils:1.0.0') {
force = true
}
implementation 'androidx.appcompat:appcompat:1.0.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

implementation 'com.google.guava:guava:24.1-jre'
implementation 'com.google.inject:guice:4.1'
implementation 'com.google.firebase:firebase-appindexing:16.0.2'
implementation 'com.google.android.gms:play-services-analytics:16.0.5'
implementation 'com.google.android.gms:play-services-ads:17.0.0'

implementation "androidx.lifecycle:lifecycle-runtime:2.0.0"
implementation "androidx.lifecycle:lifecycle-extensions:2.0.0"
annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.0.0"

def room_version = "2.1.0-alpha02"

implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"

testImplementation "androidx.room:room-testing:$room_version"
}


This is my top level gradle build file:



{



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they
belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}


}



I think this error happened after an upgrade to android studio but I can't remember for sure. My android studio version now is 3.2.1. I was able to get this project to build previously.










share|improve this question




















  • 1





    maybe your gradle has been set to offline?

    – the newbie coder
    Nov 23 '18 at 3:50











  • try adding maven { url "https://maven.google.com" } repository

    – Vladyslav Matviienko
    Nov 23 '18 at 6:35











  • I am also facing same problem let me know if you find any solution i will also do the same.

    – CodingRat
    Nov 24 '18 at 13:36











  • Gradle has not been set to offline, and I do have the maven { url "maven.google.com" } in the code above.

    – Andy
    Nov 25 '18 at 4:32






  • 1





    Yeah I've tried to invalidate and restart, unfortunately that didn't work

    – Andy
    Nov 30 '18 at 20:33
















6















I'm getting these errors when I try and build my project, it looks like it thinks I have 2 of the same library, but I'm not sure why:



Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.room:room-testing:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.room:room-testing:2.1.0-alpha02.
Open File
Show Details


This is my build.gradle file



apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion '28.0.3'

defaultConfig {
applicationId "com.andydaykin.timer"
minSdkVersion 24
targetSdkVersion 28
versionCode 1
versionName "1.0"

}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
dexOptions {
// release & debug is in project animators
matchingFallbacks = ['release', 'debug']
}
debug {
debuggable true
}
}
compileOptions {
targetCompatibility 1.10
sourceCompatibility 1.10
}
}

allprojects {
repositories {
google()
jcenter()
maven { url 'https://maven.google.com' }
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'

implementation ('androidx.legacy:legacy-support-core-utils:1.0.0') {
force = true
}
implementation 'androidx.appcompat:appcompat:1.0.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

implementation 'com.google.guava:guava:24.1-jre'
implementation 'com.google.inject:guice:4.1'
implementation 'com.google.firebase:firebase-appindexing:16.0.2'
implementation 'com.google.android.gms:play-services-analytics:16.0.5'
implementation 'com.google.android.gms:play-services-ads:17.0.0'

implementation "androidx.lifecycle:lifecycle-runtime:2.0.0"
implementation "androidx.lifecycle:lifecycle-extensions:2.0.0"
annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.0.0"

def room_version = "2.1.0-alpha02"

implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"

testImplementation "androidx.room:room-testing:$room_version"
}


This is my top level gradle build file:



{



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they
belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}


}



I think this error happened after an upgrade to android studio but I can't remember for sure. My android studio version now is 3.2.1. I was able to get this project to build previously.










share|improve this question




















  • 1





    maybe your gradle has been set to offline?

    – the newbie coder
    Nov 23 '18 at 3:50











  • try adding maven { url "https://maven.google.com" } repository

    – Vladyslav Matviienko
    Nov 23 '18 at 6:35











  • I am also facing same problem let me know if you find any solution i will also do the same.

    – CodingRat
    Nov 24 '18 at 13:36











  • Gradle has not been set to offline, and I do have the maven { url "maven.google.com" } in the code above.

    – Andy
    Nov 25 '18 at 4:32






  • 1





    Yeah I've tried to invalidate and restart, unfortunately that didn't work

    – Andy
    Nov 30 '18 at 20:33














6












6








6








I'm getting these errors when I try and build my project, it looks like it thinks I have 2 of the same library, but I'm not sure why:



Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.room:room-testing:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.room:room-testing:2.1.0-alpha02.
Open File
Show Details


This is my build.gradle file



apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion '28.0.3'

defaultConfig {
applicationId "com.andydaykin.timer"
minSdkVersion 24
targetSdkVersion 28
versionCode 1
versionName "1.0"

}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
dexOptions {
// release & debug is in project animators
matchingFallbacks = ['release', 'debug']
}
debug {
debuggable true
}
}
compileOptions {
targetCompatibility 1.10
sourceCompatibility 1.10
}
}

allprojects {
repositories {
google()
jcenter()
maven { url 'https://maven.google.com' }
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'

implementation ('androidx.legacy:legacy-support-core-utils:1.0.0') {
force = true
}
implementation 'androidx.appcompat:appcompat:1.0.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

implementation 'com.google.guava:guava:24.1-jre'
implementation 'com.google.inject:guice:4.1'
implementation 'com.google.firebase:firebase-appindexing:16.0.2'
implementation 'com.google.android.gms:play-services-analytics:16.0.5'
implementation 'com.google.android.gms:play-services-ads:17.0.0'

implementation "androidx.lifecycle:lifecycle-runtime:2.0.0"
implementation "androidx.lifecycle:lifecycle-extensions:2.0.0"
annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.0.0"

def room_version = "2.1.0-alpha02"

implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"

testImplementation "androidx.room:room-testing:$room_version"
}


This is my top level gradle build file:



{



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they
belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}


}



I think this error happened after an upgrade to android studio but I can't remember for sure. My android studio version now is 3.2.1. I was able to get this project to build previously.










share|improve this question
















I'm getting these errors when I try and build my project, it looks like it thinks I have 2 of the same library, but I'm not sure why:



Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve androidx.room:room-testing:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.1.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.legacy:legacy-support-v4:1.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.inject:guice:4.1.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.firebase:firebase-appindexing:16.0.2.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-analytics:16.0.5.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-ads:17.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-extensions:2.0.0.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.room:room-runtime:2.1.0-alpha02.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve androidx.room:room-testing:2.1.0-alpha02.
Open File
Show Details


This is my build.gradle file



apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion '28.0.3'

defaultConfig {
applicationId "com.andydaykin.timer"
minSdkVersion 24
targetSdkVersion 28
versionCode 1
versionName "1.0"

}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
dexOptions {
// release & debug is in project animators
matchingFallbacks = ['release', 'debug']
}
debug {
debuggable true
}
}
compileOptions {
targetCompatibility 1.10
sourceCompatibility 1.10
}
}

allprojects {
repositories {
google()
jcenter()
maven { url 'https://maven.google.com' }
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'

implementation ('androidx.legacy:legacy-support-core-utils:1.0.0') {
force = true
}
implementation 'androidx.appcompat:appcompat:1.0.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

implementation 'com.google.guava:guava:24.1-jre'
implementation 'com.google.inject:guice:4.1'
implementation 'com.google.firebase:firebase-appindexing:16.0.2'
implementation 'com.google.android.gms:play-services-analytics:16.0.5'
implementation 'com.google.android.gms:play-services-ads:17.0.0'

implementation "androidx.lifecycle:lifecycle-runtime:2.0.0"
implementation "androidx.lifecycle:lifecycle-extensions:2.0.0"
annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.0.0"

def room_version = "2.1.0-alpha02"

implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"

testImplementation "androidx.room:room-testing:$room_version"
}


This is my top level gradle build file:



{



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they
belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}


}



I think this error happened after an upgrade to android studio but I can't remember for sure. My android studio version now is 3.2.1. I was able to get this project to build previously.







android android-gradle build.gradle






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 29 '18 at 0:19







Andy

















asked Nov 23 '18 at 2:50









AndyAndy

4461512




4461512








  • 1





    maybe your gradle has been set to offline?

    – the newbie coder
    Nov 23 '18 at 3:50











  • try adding maven { url "https://maven.google.com" } repository

    – Vladyslav Matviienko
    Nov 23 '18 at 6:35











  • I am also facing same problem let me know if you find any solution i will also do the same.

    – CodingRat
    Nov 24 '18 at 13:36











  • Gradle has not been set to offline, and I do have the maven { url "maven.google.com" } in the code above.

    – Andy
    Nov 25 '18 at 4:32






  • 1





    Yeah I've tried to invalidate and restart, unfortunately that didn't work

    – Andy
    Nov 30 '18 at 20:33














  • 1





    maybe your gradle has been set to offline?

    – the newbie coder
    Nov 23 '18 at 3:50











  • try adding maven { url "https://maven.google.com" } repository

    – Vladyslav Matviienko
    Nov 23 '18 at 6:35











  • I am also facing same problem let me know if you find any solution i will also do the same.

    – CodingRat
    Nov 24 '18 at 13:36











  • Gradle has not been set to offline, and I do have the maven { url "maven.google.com" } in the code above.

    – Andy
    Nov 25 '18 at 4:32






  • 1





    Yeah I've tried to invalidate and restart, unfortunately that didn't work

    – Andy
    Nov 30 '18 at 20:33








1




1





maybe your gradle has been set to offline?

– the newbie coder
Nov 23 '18 at 3:50





maybe your gradle has been set to offline?

– the newbie coder
Nov 23 '18 at 3:50













try adding maven { url "https://maven.google.com" } repository

– Vladyslav Matviienko
Nov 23 '18 at 6:35





try adding maven { url "https://maven.google.com" } repository

– Vladyslav Matviienko
Nov 23 '18 at 6:35













I am also facing same problem let me know if you find any solution i will also do the same.

– CodingRat
Nov 24 '18 at 13:36





I am also facing same problem let me know if you find any solution i will also do the same.

– CodingRat
Nov 24 '18 at 13:36













Gradle has not been set to offline, and I do have the maven { url "maven.google.com" } in the code above.

– Andy
Nov 25 '18 at 4:32





Gradle has not been set to offline, and I do have the maven { url "maven.google.com" } in the code above.

– Andy
Nov 25 '18 at 4:32




1




1





Yeah I've tried to invalidate and restart, unfortunately that didn't work

– Andy
Nov 30 '18 at 20:33





Yeah I've tried to invalidate and restart, unfortunately that didn't work

– Andy
Nov 30 '18 at 20:33












5 Answers
5






active

oldest

votes


















1














In your top level Gradle file add class path for google service plugin.



dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.1'
}


you should check for your internet connection, proxy or firewall.



OR



cross check to disable Gradle Offline by following.



Windows:




Settings >Gradle >Disable Offline Work




Mac:




Preferences > Build, Execution, Deployment >Gradle >Disable Offline Work




enter image description here






share|improve this answer





















  • 1





    I already had offline work disabled, the error is still happening with the change to dependencies.

    – Andy
    Dec 4 '18 at 5:53



















0















I think this error happened after an upgrade to android studio




The problem just began when you changed compile into implementation.





Assume A,B and C are three modules and the relation between them are as follows



C > B > A   
> Represents a dependency





When using compile, C can directly access A. But it is not possible when using implementation. There is api which will have the same effect as compile.






Note: It is not recommended to use api everywhere. api and compile will make the compilation process slower because it will force to recompile all low level modules where implementation will recompile only required modules when a top level module is modified.




share|improve this answer


























  • I tried replacing all instances of implementation with api and got the same error message.

    – Andy
    Dec 5 '18 at 3:03











  • Do you have any modules other than app? Have you tried doing the same in there?

    – Anees
    Dec 5 '18 at 11:33



















0














If you are using Android Studio 3+ and Gradle version 4.+ then maven is not needed.
Try removing



        maven {
url 'https://maven.google.com/'
name 'Google'
}


and just have,



    buildscript {
repositories {
google()
jcenter()

}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
google()
jcenter()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}





share|improve this answer

































    0














    Also, check here: https://stackoverflow.com/a/53716633/8034839 and React Native : Could not find com.android.tools.build:gradle:2.2.3 which might help

    It is related to AndroidX migration.



    Try below solution from https://developer.android.com/jetpack/androidx/migrate



    Migrate an existing project using Android Studio




    With Android Studio 3.2 and higher, you can quickly migrate an existing project to use AndroidX by selecting Refactor > Migrate to AndroidX from the menu bar.



    If you have any Maven dependencies that have not been migrated to the AndroidX namespace, the Android Studio build system also migrates those dependencies for you when you set the following two flags to true in your gradle.properties file:



    android.useAndroidX=true
    android.enableJetifier=true


    To migrate an existing project that does not use any third-party libraries with dependencies that need converting, you can set the android.useAndroidX flag to true and the android.enableJetifier flag to false.




    Also, inside your TOP-LEVEL build.gradle, pull up the google() to top as below:



    allprojects {
    repositories {
    google() // here
    jcenter()
    maven {
    url 'https://maven.google.com/'
    name 'Google'
    }
    //google()
    }
    }





    share|improve this answer





















    • 1





      Thanks, I already have those 2 properties set. I'm still getting the same error with the change to the top level build.gradle

      – Andy
      Dec 4 '18 at 5:52











    • Please post your updated error logs

      – shizhen
      Dec 4 '18 at 6:06











    • it's the exact same error as before

      – Andy
      Dec 5 '18 at 3:00



















    -1














    Move google() above all other things as below:



        buildscript {
    repositories {
    google()
    jcenter()
    maven {
    url 'https://maven.google.com/'
    name 'Google'
    }

    }
    dependencies {
    classpath 'com.android.tools.build:gradle:3.2.1'

    // NOTE: Do not place your application dependencies here; they
    belong
    // in the individual module build.gradle files
    }
    }

    allprojects {
    repositories {
    google()
    jcenter()
    maven {
    url 'https://maven.google.com/'
    name 'Google'
    }

    }
    }

    task clean(type: Delete) {
    delete rootProject.buildDir
    }





    share|improve this answer



















    • 1





      Thanks, still getting the same errors with that

      – Andy
      Nov 30 '18 at 20:32











    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53440108%2fhow-can-i-fix-these-errors-about-not-being-able-to-find-dependencies-when-compil%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    5 Answers
    5






    active

    oldest

    votes








    5 Answers
    5






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    In your top level Gradle file add class path for google service plugin.



    dependencies {
    classpath 'com.android.tools.build:gradle:3.2.1'
    classpath 'com.google.gms:google-services:4.0.1'
    }


    you should check for your internet connection, proxy or firewall.



    OR



    cross check to disable Gradle Offline by following.



    Windows:




    Settings >Gradle >Disable Offline Work




    Mac:




    Preferences > Build, Execution, Deployment >Gradle >Disable Offline Work




    enter image description here






    share|improve this answer





















    • 1





      I already had offline work disabled, the error is still happening with the change to dependencies.

      – Andy
      Dec 4 '18 at 5:53
















    1














    In your top level Gradle file add class path for google service plugin.



    dependencies {
    classpath 'com.android.tools.build:gradle:3.2.1'
    classpath 'com.google.gms:google-services:4.0.1'
    }


    you should check for your internet connection, proxy or firewall.



    OR



    cross check to disable Gradle Offline by following.



    Windows:




    Settings >Gradle >Disable Offline Work




    Mac:




    Preferences > Build, Execution, Deployment >Gradle >Disable Offline Work




    enter image description here






    share|improve this answer





















    • 1





      I already had offline work disabled, the error is still happening with the change to dependencies.

      – Andy
      Dec 4 '18 at 5:53














    1












    1








    1







    In your top level Gradle file add class path for google service plugin.



    dependencies {
    classpath 'com.android.tools.build:gradle:3.2.1'
    classpath 'com.google.gms:google-services:4.0.1'
    }


    you should check for your internet connection, proxy or firewall.



    OR



    cross check to disable Gradle Offline by following.



    Windows:




    Settings >Gradle >Disable Offline Work




    Mac:




    Preferences > Build, Execution, Deployment >Gradle >Disable Offline Work




    enter image description here






    share|improve this answer















    In your top level Gradle file add class path for google service plugin.



    dependencies {
    classpath 'com.android.tools.build:gradle:3.2.1'
    classpath 'com.google.gms:google-services:4.0.1'
    }


    you should check for your internet connection, proxy or firewall.



    OR



    cross check to disable Gradle Offline by following.



    Windows:




    Settings >Gradle >Disable Offline Work




    Mac:




    Preferences > Build, Execution, Deployment >Gradle >Disable Offline Work




    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Dec 4 '18 at 5:15

























    answered Dec 4 '18 at 5:04









    Muzammil HusnainMuzammil Husnain

    4801414




    4801414








    • 1





      I already had offline work disabled, the error is still happening with the change to dependencies.

      – Andy
      Dec 4 '18 at 5:53














    • 1





      I already had offline work disabled, the error is still happening with the change to dependencies.

      – Andy
      Dec 4 '18 at 5:53








    1




    1





    I already had offline work disabled, the error is still happening with the change to dependencies.

    – Andy
    Dec 4 '18 at 5:53





    I already had offline work disabled, the error is still happening with the change to dependencies.

    – Andy
    Dec 4 '18 at 5:53













    0















    I think this error happened after an upgrade to android studio




    The problem just began when you changed compile into implementation.





    Assume A,B and C are three modules and the relation between them are as follows



    C > B > A   
    > Represents a dependency





    When using compile, C can directly access A. But it is not possible when using implementation. There is api which will have the same effect as compile.






    Note: It is not recommended to use api everywhere. api and compile will make the compilation process slower because it will force to recompile all low level modules where implementation will recompile only required modules when a top level module is modified.




    share|improve this answer


























    • I tried replacing all instances of implementation with api and got the same error message.

      – Andy
      Dec 5 '18 at 3:03











    • Do you have any modules other than app? Have you tried doing the same in there?

      – Anees
      Dec 5 '18 at 11:33
















    0















    I think this error happened after an upgrade to android studio




    The problem just began when you changed compile into implementation.





    Assume A,B and C are three modules and the relation between them are as follows



    C > B > A   
    > Represents a dependency





    When using compile, C can directly access A. But it is not possible when using implementation. There is api which will have the same effect as compile.






    Note: It is not recommended to use api everywhere. api and compile will make the compilation process slower because it will force to recompile all low level modules where implementation will recompile only required modules when a top level module is modified.




    share|improve this answer


























    • I tried replacing all instances of implementation with api and got the same error message.

      – Andy
      Dec 5 '18 at 3:03











    • Do you have any modules other than app? Have you tried doing the same in there?

      – Anees
      Dec 5 '18 at 11:33














    0












    0








    0








    I think this error happened after an upgrade to android studio




    The problem just began when you changed compile into implementation.





    Assume A,B and C are three modules and the relation between them are as follows



    C > B > A   
    > Represents a dependency





    When using compile, C can directly access A. But it is not possible when using implementation. There is api which will have the same effect as compile.






    Note: It is not recommended to use api everywhere. api and compile will make the compilation process slower because it will force to recompile all low level modules where implementation will recompile only required modules when a top level module is modified.




    share|improve this answer
















    I think this error happened after an upgrade to android studio




    The problem just began when you changed compile into implementation.





    Assume A,B and C are three modules and the relation between them are as follows



    C > B > A   
    > Represents a dependency





    When using compile, C can directly access A. But it is not possible when using implementation. There is api which will have the same effect as compile.






    Note: It is not recommended to use api everywhere. api and compile will make the compilation process slower because it will force to recompile all low level modules where implementation will recompile only required modules when a top level module is modified.





    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Dec 5 '18 at 11:44

























    answered Dec 4 '18 at 18:01









    AneesAnees

    4,62841348




    4,62841348













    • I tried replacing all instances of implementation with api and got the same error message.

      – Andy
      Dec 5 '18 at 3:03











    • Do you have any modules other than app? Have you tried doing the same in there?

      – Anees
      Dec 5 '18 at 11:33



















    • I tried replacing all instances of implementation with api and got the same error message.

      – Andy
      Dec 5 '18 at 3:03











    • Do you have any modules other than app? Have you tried doing the same in there?

      – Anees
      Dec 5 '18 at 11:33

















    I tried replacing all instances of implementation with api and got the same error message.

    – Andy
    Dec 5 '18 at 3:03





    I tried replacing all instances of implementation with api and got the same error message.

    – Andy
    Dec 5 '18 at 3:03













    Do you have any modules other than app? Have you tried doing the same in there?

    – Anees
    Dec 5 '18 at 11:33





    Do you have any modules other than app? Have you tried doing the same in there?

    – Anees
    Dec 5 '18 at 11:33











    0














    If you are using Android Studio 3+ and Gradle version 4.+ then maven is not needed.
    Try removing



            maven {
    url 'https://maven.google.com/'
    name 'Google'
    }


    and just have,



        buildscript {
    repositories {
    google()
    jcenter()

    }
    dependencies {
    classpath 'com.android.tools.build:gradle:3.2.1'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
    }
    }

    allprojects {
    repositories {
    google()
    jcenter()
    }
    }

    task clean(type: Delete) {
    delete rootProject.buildDir
    }





    share|improve this answer






























      0














      If you are using Android Studio 3+ and Gradle version 4.+ then maven is not needed.
      Try removing



              maven {
      url 'https://maven.google.com/'
      name 'Google'
      }


      and just have,



          buildscript {
      repositories {
      google()
      jcenter()

      }
      dependencies {
      classpath 'com.android.tools.build:gradle:3.2.1'

      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
      }
      }

      allprojects {
      repositories {
      google()
      jcenter()
      }
      }

      task clean(type: Delete) {
      delete rootProject.buildDir
      }





      share|improve this answer




























        0












        0








        0







        If you are using Android Studio 3+ and Gradle version 4.+ then maven is not needed.
        Try removing



                maven {
        url 'https://maven.google.com/'
        name 'Google'
        }


        and just have,



            buildscript {
        repositories {
        google()
        jcenter()

        }
        dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        }
        }

        allprojects {
        repositories {
        google()
        jcenter()
        }
        }

        task clean(type: Delete) {
        delete rootProject.buildDir
        }





        share|improve this answer















        If you are using Android Studio 3+ and Gradle version 4.+ then maven is not needed.
        Try removing



                maven {
        url 'https://maven.google.com/'
        name 'Google'
        }


        and just have,



            buildscript {
        repositories {
        google()
        jcenter()

        }
        dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        }
        }

        allprojects {
        repositories {
        google()
        jcenter()
        }
        }

        task clean(type: Delete) {
        delete rootProject.buildDir
        }






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 5 '18 at 16:21

























        answered Dec 5 '18 at 16:15









        Saikrishna RajaramanSaikrishna Rajaraman

        1,382419




        1,382419























            0














            Also, check here: https://stackoverflow.com/a/53716633/8034839 and React Native : Could not find com.android.tools.build:gradle:2.2.3 which might help

            It is related to AndroidX migration.



            Try below solution from https://developer.android.com/jetpack/androidx/migrate



            Migrate an existing project using Android Studio




            With Android Studio 3.2 and higher, you can quickly migrate an existing project to use AndroidX by selecting Refactor > Migrate to AndroidX from the menu bar.



            If you have any Maven dependencies that have not been migrated to the AndroidX namespace, the Android Studio build system also migrates those dependencies for you when you set the following two flags to true in your gradle.properties file:



            android.useAndroidX=true
            android.enableJetifier=true


            To migrate an existing project that does not use any third-party libraries with dependencies that need converting, you can set the android.useAndroidX flag to true and the android.enableJetifier flag to false.




            Also, inside your TOP-LEVEL build.gradle, pull up the google() to top as below:



            allprojects {
            repositories {
            google() // here
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }
            //google()
            }
            }





            share|improve this answer





















            • 1





              Thanks, I already have those 2 properties set. I'm still getting the same error with the change to the top level build.gradle

              – Andy
              Dec 4 '18 at 5:52











            • Please post your updated error logs

              – shizhen
              Dec 4 '18 at 6:06











            • it's the exact same error as before

              – Andy
              Dec 5 '18 at 3:00
















            0














            Also, check here: https://stackoverflow.com/a/53716633/8034839 and React Native : Could not find com.android.tools.build:gradle:2.2.3 which might help

            It is related to AndroidX migration.



            Try below solution from https://developer.android.com/jetpack/androidx/migrate



            Migrate an existing project using Android Studio




            With Android Studio 3.2 and higher, you can quickly migrate an existing project to use AndroidX by selecting Refactor > Migrate to AndroidX from the menu bar.



            If you have any Maven dependencies that have not been migrated to the AndroidX namespace, the Android Studio build system also migrates those dependencies for you when you set the following two flags to true in your gradle.properties file:



            android.useAndroidX=true
            android.enableJetifier=true


            To migrate an existing project that does not use any third-party libraries with dependencies that need converting, you can set the android.useAndroidX flag to true and the android.enableJetifier flag to false.




            Also, inside your TOP-LEVEL build.gradle, pull up the google() to top as below:



            allprojects {
            repositories {
            google() // here
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }
            //google()
            }
            }





            share|improve this answer





















            • 1





              Thanks, I already have those 2 properties set. I'm still getting the same error with the change to the top level build.gradle

              – Andy
              Dec 4 '18 at 5:52











            • Please post your updated error logs

              – shizhen
              Dec 4 '18 at 6:06











            • it's the exact same error as before

              – Andy
              Dec 5 '18 at 3:00














            0












            0








            0







            Also, check here: https://stackoverflow.com/a/53716633/8034839 and React Native : Could not find com.android.tools.build:gradle:2.2.3 which might help

            It is related to AndroidX migration.



            Try below solution from https://developer.android.com/jetpack/androidx/migrate



            Migrate an existing project using Android Studio




            With Android Studio 3.2 and higher, you can quickly migrate an existing project to use AndroidX by selecting Refactor > Migrate to AndroidX from the menu bar.



            If you have any Maven dependencies that have not been migrated to the AndroidX namespace, the Android Studio build system also migrates those dependencies for you when you set the following two flags to true in your gradle.properties file:



            android.useAndroidX=true
            android.enableJetifier=true


            To migrate an existing project that does not use any third-party libraries with dependencies that need converting, you can set the android.useAndroidX flag to true and the android.enableJetifier flag to false.




            Also, inside your TOP-LEVEL build.gradle, pull up the google() to top as below:



            allprojects {
            repositories {
            google() // here
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }
            //google()
            }
            }





            share|improve this answer















            Also, check here: https://stackoverflow.com/a/53716633/8034839 and React Native : Could not find com.android.tools.build:gradle:2.2.3 which might help

            It is related to AndroidX migration.



            Try below solution from https://developer.android.com/jetpack/androidx/migrate



            Migrate an existing project using Android Studio




            With Android Studio 3.2 and higher, you can quickly migrate an existing project to use AndroidX by selecting Refactor > Migrate to AndroidX from the menu bar.



            If you have any Maven dependencies that have not been migrated to the AndroidX namespace, the Android Studio build system also migrates those dependencies for you when you set the following two flags to true in your gradle.properties file:



            android.useAndroidX=true
            android.enableJetifier=true


            To migrate an existing project that does not use any third-party libraries with dependencies that need converting, you can set the android.useAndroidX flag to true and the android.enableJetifier flag to false.




            Also, inside your TOP-LEVEL build.gradle, pull up the google() to top as below:



            allprojects {
            repositories {
            google() // here
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }
            //google()
            }
            }






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 11 '18 at 12:09

























            answered Dec 4 '18 at 5:13









            shizhenshizhen

            3,86541336




            3,86541336








            • 1





              Thanks, I already have those 2 properties set. I'm still getting the same error with the change to the top level build.gradle

              – Andy
              Dec 4 '18 at 5:52











            • Please post your updated error logs

              – shizhen
              Dec 4 '18 at 6:06











            • it's the exact same error as before

              – Andy
              Dec 5 '18 at 3:00














            • 1





              Thanks, I already have those 2 properties set. I'm still getting the same error with the change to the top level build.gradle

              – Andy
              Dec 4 '18 at 5:52











            • Please post your updated error logs

              – shizhen
              Dec 4 '18 at 6:06











            • it's the exact same error as before

              – Andy
              Dec 5 '18 at 3:00








            1




            1





            Thanks, I already have those 2 properties set. I'm still getting the same error with the change to the top level build.gradle

            – Andy
            Dec 4 '18 at 5:52





            Thanks, I already have those 2 properties set. I'm still getting the same error with the change to the top level build.gradle

            – Andy
            Dec 4 '18 at 5:52













            Please post your updated error logs

            – shizhen
            Dec 4 '18 at 6:06





            Please post your updated error logs

            – shizhen
            Dec 4 '18 at 6:06













            it's the exact same error as before

            – Andy
            Dec 5 '18 at 3:00





            it's the exact same error as before

            – Andy
            Dec 5 '18 at 3:00











            -1














            Move google() above all other things as below:



                buildscript {
            repositories {
            google()
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }

            }
            dependencies {
            classpath 'com.android.tools.build:gradle:3.2.1'

            // NOTE: Do not place your application dependencies here; they
            belong
            // in the individual module build.gradle files
            }
            }

            allprojects {
            repositories {
            google()
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }

            }
            }

            task clean(type: Delete) {
            delete rootProject.buildDir
            }





            share|improve this answer



















            • 1





              Thanks, still getting the same errors with that

              – Andy
              Nov 30 '18 at 20:32
















            -1














            Move google() above all other things as below:



                buildscript {
            repositories {
            google()
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }

            }
            dependencies {
            classpath 'com.android.tools.build:gradle:3.2.1'

            // NOTE: Do not place your application dependencies here; they
            belong
            // in the individual module build.gradle files
            }
            }

            allprojects {
            repositories {
            google()
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }

            }
            }

            task clean(type: Delete) {
            delete rootProject.buildDir
            }





            share|improve this answer



















            • 1





              Thanks, still getting the same errors with that

              – Andy
              Nov 30 '18 at 20:32














            -1












            -1








            -1







            Move google() above all other things as below:



                buildscript {
            repositories {
            google()
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }

            }
            dependencies {
            classpath 'com.android.tools.build:gradle:3.2.1'

            // NOTE: Do not place your application dependencies here; they
            belong
            // in the individual module build.gradle files
            }
            }

            allprojects {
            repositories {
            google()
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }

            }
            }

            task clean(type: Delete) {
            delete rootProject.buildDir
            }





            share|improve this answer













            Move google() above all other things as below:



                buildscript {
            repositories {
            google()
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }

            }
            dependencies {
            classpath 'com.android.tools.build:gradle:3.2.1'

            // NOTE: Do not place your application dependencies here; they
            belong
            // in the individual module build.gradle files
            }
            }

            allprojects {
            repositories {
            google()
            jcenter()
            maven {
            url 'https://maven.google.com/'
            name 'Google'
            }

            }
            }

            task clean(type: Delete) {
            delete rootProject.buildDir
            }






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 30 '18 at 4:40









            Vikash BijarniyaVikash Bijarniya

            1719




            1719








            • 1





              Thanks, still getting the same errors with that

              – Andy
              Nov 30 '18 at 20:32














            • 1





              Thanks, still getting the same errors with that

              – Andy
              Nov 30 '18 at 20:32








            1




            1





            Thanks, still getting the same errors with that

            – Andy
            Nov 30 '18 at 20:32





            Thanks, still getting the same errors with that

            – Andy
            Nov 30 '18 at 20:32


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53440108%2fhow-can-i-fix-these-errors-about-not-being-able-to-find-dependencies-when-compil%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            Xamarin.form Move up view when keyboard appear

            Post-Redirect-Get with Spring WebFlux and Thymeleaf

            Anylogic : not able to use stopDelay()