Could not find com.google.gms:google-services:4.0.1 [duplicate]











up vote
45
down vote

favorite
11













This question already has an answer here:




  • Error: could not find com.google.gms:google-services:4.2.0

    4 answers




Hi i started a new project in android and imported firebase as told in google docs.
Everything was perfect in Android studio 3.0.1.
Now i update my Android studio to 3.2.1. Now the same code is rebuild and got error that




Could not find com.google.gms:google-services:4.0.1




Log was:



Could not find com.google.gms:google-services:4.0.1.
Searched in the following locations:
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
Required by:
project :


My Project Level Gradle is:



buildscript {

repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

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

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


App level Gradle is:



apply plugin: 'com.android.application'

android {
compileSdkVersion 27
defaultConfig {
applicationId "com.arafa.sms"
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:support-v4:27.1.0'
implementation 'com.android.support:animated-vector-drawable:27.1.0'
implementation 'com.android.support:support-media-compat:27.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.google.code.gson:gson:2.6.2'
implementation 'com.squareup.okhttp3:okhttp:3.3.1'
implementation 'com.google.firebase:firebase-core:16.0.1'
}
apply plugin: 'com.google.gms.google-services'


What is the issue here! Please help me out!










share|improve this question







New contributor




Arafa TechLink is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











marked as duplicate by Doug Stevenson android
Users with the  android badge can single-handedly close android questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
10 hours ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 1




    Same issue for me. Could be related to similar issue here github.com/google/ExoPlayer/issues/5225
    – Stepango
    15 hours ago






  • 1




    issuetracker.google.com/issues/120759347
    – Steve
    9 hours ago















up vote
45
down vote

favorite
11













This question already has an answer here:




  • Error: could not find com.google.gms:google-services:4.2.0

    4 answers




Hi i started a new project in android and imported firebase as told in google docs.
Everything was perfect in Android studio 3.0.1.
Now i update my Android studio to 3.2.1. Now the same code is rebuild and got error that




Could not find com.google.gms:google-services:4.0.1




Log was:



Could not find com.google.gms:google-services:4.0.1.
Searched in the following locations:
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
Required by:
project :


My Project Level Gradle is:



buildscript {

repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

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

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


App level Gradle is:



apply plugin: 'com.android.application'

android {
compileSdkVersion 27
defaultConfig {
applicationId "com.arafa.sms"
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:support-v4:27.1.0'
implementation 'com.android.support:animated-vector-drawable:27.1.0'
implementation 'com.android.support:support-media-compat:27.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.google.code.gson:gson:2.6.2'
implementation 'com.squareup.okhttp3:okhttp:3.3.1'
implementation 'com.google.firebase:firebase-core:16.0.1'
}
apply plugin: 'com.google.gms.google-services'


What is the issue here! Please help me out!










share|improve this question







New contributor




Arafa TechLink is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











marked as duplicate by Doug Stevenson android
Users with the  android badge can single-handedly close android questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
10 hours ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 1




    Same issue for me. Could be related to similar issue here github.com/google/ExoPlayer/issues/5225
    – Stepango
    15 hours ago






  • 1




    issuetracker.google.com/issues/120759347
    – Steve
    9 hours ago













up vote
45
down vote

favorite
11









up vote
45
down vote

favorite
11






11






This question already has an answer here:




  • Error: could not find com.google.gms:google-services:4.2.0

    4 answers




Hi i started a new project in android and imported firebase as told in google docs.
Everything was perfect in Android studio 3.0.1.
Now i update my Android studio to 3.2.1. Now the same code is rebuild and got error that




Could not find com.google.gms:google-services:4.0.1




Log was:



Could not find com.google.gms:google-services:4.0.1.
Searched in the following locations:
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
Required by:
project :


My Project Level Gradle is:



buildscript {

repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

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

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


App level Gradle is:



apply plugin: 'com.android.application'

android {
compileSdkVersion 27
defaultConfig {
applicationId "com.arafa.sms"
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:support-v4:27.1.0'
implementation 'com.android.support:animated-vector-drawable:27.1.0'
implementation 'com.android.support:support-media-compat:27.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.google.code.gson:gson:2.6.2'
implementation 'com.squareup.okhttp3:okhttp:3.3.1'
implementation 'com.google.firebase:firebase-core:16.0.1'
}
apply plugin: 'com.google.gms.google-services'


What is the issue here! Please help me out!










share|improve this question







New contributor




Arafa TechLink is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












This question already has an answer here:




  • Error: could not find com.google.gms:google-services:4.2.0

    4 answers




Hi i started a new project in android and imported firebase as told in google docs.
Everything was perfect in Android studio 3.0.1.
Now i update my Android studio to 3.2.1. Now the same code is rebuild and got error that




Could not find com.google.gms:google-services:4.0.1




Log was:



Could not find com.google.gms:google-services:4.0.1.
Searched in the following locations:
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
Required by:
project :


My Project Level Gradle is:



buildscript {

repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

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

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


App level Gradle is:



apply plugin: 'com.android.application'

android {
compileSdkVersion 27
defaultConfig {
applicationId "com.arafa.sms"
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:support-v4:27.1.0'
implementation 'com.android.support:animated-vector-drawable:27.1.0'
implementation 'com.android.support:support-media-compat:27.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.google.code.gson:gson:2.6.2'
implementation 'com.squareup.okhttp3:okhttp:3.3.1'
implementation 'com.google.firebase:firebase-core:16.0.1'
}
apply plugin: 'com.google.gms.google-services'


What is the issue here! Please help me out!





This question already has an answer here:




  • Error: could not find com.google.gms:google-services:4.2.0

    4 answers








android firebase-cloud-messaging google-services-json






share|improve this question







New contributor




Arafa TechLink is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Arafa TechLink is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Arafa TechLink is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 15 hours ago









Arafa TechLink

20124




20124




New contributor




Arafa TechLink is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Arafa TechLink is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Arafa TechLink is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




marked as duplicate by Doug Stevenson android
Users with the  android badge can single-handedly close android questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
10 hours ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by Doug Stevenson android
Users with the  android badge can single-handedly close android questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
10 hours ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1




    Same issue for me. Could be related to similar issue here github.com/google/ExoPlayer/issues/5225
    – Stepango
    15 hours ago






  • 1




    issuetracker.google.com/issues/120759347
    – Steve
    9 hours ago














  • 1




    Same issue for me. Could be related to similar issue here github.com/google/ExoPlayer/issues/5225
    – Stepango
    15 hours ago






  • 1




    issuetracker.google.com/issues/120759347
    – Steve
    9 hours ago








1




1




Same issue for me. Could be related to similar issue here github.com/google/ExoPlayer/issues/5225
– Stepango
15 hours ago




Same issue for me. Could be related to similar issue here github.com/google/ExoPlayer/issues/5225
– Stepango
15 hours ago




1




1




issuetracker.google.com/issues/120759347
– Steve
9 hours ago




issuetracker.google.com/issues/120759347
– Steve
9 hours ago












3 Answers
3






active

oldest

votes

















up vote
51
down vote













I have the same problem, it seems like Google repo is missing this dependency. I checked the repository and gms folder does not contain any published versions.



So as a quick fix I added another repository, that has it:



repositories {
maven { url 'https://dl.bintray.com/android/android-tools' }
}


EDIT: Since this is only a temporary solution and I consider it as a workaround so I am able to continue developing. I will remove this depencency later when Google repository will contain the depency or we know where they moved it.






share|improve this answer



















  • 6




    works - for me it's also not finding com.google.firebase:firebase-plugins:1.1.5 anymore, had to add this repo: maven { url 'dl.bintray.com/firebase/gradle' } ¯_(ツ)_/¯
    – Łukasz Wiśniewski
    13 hours ago












  • I'm trying to use a library which tries to find com.android.tools.build:gradle:2.2.3 and I'm getting the same could not find message. I believe it's the same problem. Does anyone know a repository from where I could get it?
    – tibuurcio
    12 hours ago






  • 2




    @DavidSucharda is it secure ?! Do google use that ?
    – Damiii
    12 hours ago






  • 1




    This com.android.tools.build:gradle:2.2.3 is inside google maven repo google() @tibuurcio actually its not, its a very old version anyway..
    – Peter Haddad
    12 hours ago








  • 2




    @Damiii This is a workaround since Google's own repo for some reason does not have the required dependencies. I suggest removing it after google adds it back or we will know where they moved it.
    – David Sucharda
    12 hours ago


















up vote
1
down vote













Try adding another maven repository to your project gradle file. For example:



allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}


If that doesn't work, adding the OneSignal gradle plugin, also to the project's gradle, might do the trick (as suggested in this answer).



apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'





share|improve this answer




























    up vote
    -7
    down vote













    please test with vpn



    also not fix
    you can use oneSignal,
    use it



    and a simple code for android studio java,Kotlin






    share|improve this answer





















    • Why did you get downvoted? Not everyone was lucky to be taught proper English
      – ratsimihah
      11 hours ago










    • @ratsimihah because this reads like comment with a "try" suggestion, links to a potential duplicate, and then links to examples. It's very close to a link-only answer, and if those links go down, it's useless.
      – TheWanderer
      10 hours ago


















    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    51
    down vote













    I have the same problem, it seems like Google repo is missing this dependency. I checked the repository and gms folder does not contain any published versions.



    So as a quick fix I added another repository, that has it:



    repositories {
    maven { url 'https://dl.bintray.com/android/android-tools' }
    }


    EDIT: Since this is only a temporary solution and I consider it as a workaround so I am able to continue developing. I will remove this depencency later when Google repository will contain the depency or we know where they moved it.






    share|improve this answer



















    • 6




      works - for me it's also not finding com.google.firebase:firebase-plugins:1.1.5 anymore, had to add this repo: maven { url 'dl.bintray.com/firebase/gradle' } ¯_(ツ)_/¯
      – Łukasz Wiśniewski
      13 hours ago












    • I'm trying to use a library which tries to find com.android.tools.build:gradle:2.2.3 and I'm getting the same could not find message. I believe it's the same problem. Does anyone know a repository from where I could get it?
      – tibuurcio
      12 hours ago






    • 2




      @DavidSucharda is it secure ?! Do google use that ?
      – Damiii
      12 hours ago






    • 1




      This com.android.tools.build:gradle:2.2.3 is inside google maven repo google() @tibuurcio actually its not, its a very old version anyway..
      – Peter Haddad
      12 hours ago








    • 2




      @Damiii This is a workaround since Google's own repo for some reason does not have the required dependencies. I suggest removing it after google adds it back or we will know where they moved it.
      – David Sucharda
      12 hours ago















    up vote
    51
    down vote













    I have the same problem, it seems like Google repo is missing this dependency. I checked the repository and gms folder does not contain any published versions.



    So as a quick fix I added another repository, that has it:



    repositories {
    maven { url 'https://dl.bintray.com/android/android-tools' }
    }


    EDIT: Since this is only a temporary solution and I consider it as a workaround so I am able to continue developing. I will remove this depencency later when Google repository will contain the depency or we know where they moved it.






    share|improve this answer



















    • 6




      works - for me it's also not finding com.google.firebase:firebase-plugins:1.1.5 anymore, had to add this repo: maven { url 'dl.bintray.com/firebase/gradle' } ¯_(ツ)_/¯
      – Łukasz Wiśniewski
      13 hours ago












    • I'm trying to use a library which tries to find com.android.tools.build:gradle:2.2.3 and I'm getting the same could not find message. I believe it's the same problem. Does anyone know a repository from where I could get it?
      – tibuurcio
      12 hours ago






    • 2




      @DavidSucharda is it secure ?! Do google use that ?
      – Damiii
      12 hours ago






    • 1




      This com.android.tools.build:gradle:2.2.3 is inside google maven repo google() @tibuurcio actually its not, its a very old version anyway..
      – Peter Haddad
      12 hours ago








    • 2




      @Damiii This is a workaround since Google's own repo for some reason does not have the required dependencies. I suggest removing it after google adds it back or we will know where they moved it.
      – David Sucharda
      12 hours ago













    up vote
    51
    down vote










    up vote
    51
    down vote









    I have the same problem, it seems like Google repo is missing this dependency. I checked the repository and gms folder does not contain any published versions.



    So as a quick fix I added another repository, that has it:



    repositories {
    maven { url 'https://dl.bintray.com/android/android-tools' }
    }


    EDIT: Since this is only a temporary solution and I consider it as a workaround so I am able to continue developing. I will remove this depencency later when Google repository will contain the depency or we know where they moved it.






    share|improve this answer














    I have the same problem, it seems like Google repo is missing this dependency. I checked the repository and gms folder does not contain any published versions.



    So as a quick fix I added another repository, that has it:



    repositories {
    maven { url 'https://dl.bintray.com/android/android-tools' }
    }


    EDIT: Since this is only a temporary solution and I consider it as a workaround so I am able to continue developing. I will remove this depencency later when Google repository will contain the depency or we know where they moved it.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 12 hours ago

























    answered 15 hours ago









    David Sucharda

    23618




    23618








    • 6




      works - for me it's also not finding com.google.firebase:firebase-plugins:1.1.5 anymore, had to add this repo: maven { url 'dl.bintray.com/firebase/gradle' } ¯_(ツ)_/¯
      – Łukasz Wiśniewski
      13 hours ago












    • I'm trying to use a library which tries to find com.android.tools.build:gradle:2.2.3 and I'm getting the same could not find message. I believe it's the same problem. Does anyone know a repository from where I could get it?
      – tibuurcio
      12 hours ago






    • 2




      @DavidSucharda is it secure ?! Do google use that ?
      – Damiii
      12 hours ago






    • 1




      This com.android.tools.build:gradle:2.2.3 is inside google maven repo google() @tibuurcio actually its not, its a very old version anyway..
      – Peter Haddad
      12 hours ago








    • 2




      @Damiii This is a workaround since Google's own repo for some reason does not have the required dependencies. I suggest removing it after google adds it back or we will know where they moved it.
      – David Sucharda
      12 hours ago














    • 6




      works - for me it's also not finding com.google.firebase:firebase-plugins:1.1.5 anymore, had to add this repo: maven { url 'dl.bintray.com/firebase/gradle' } ¯_(ツ)_/¯
      – Łukasz Wiśniewski
      13 hours ago












    • I'm trying to use a library which tries to find com.android.tools.build:gradle:2.2.3 and I'm getting the same could not find message. I believe it's the same problem. Does anyone know a repository from where I could get it?
      – tibuurcio
      12 hours ago






    • 2




      @DavidSucharda is it secure ?! Do google use that ?
      – Damiii
      12 hours ago






    • 1




      This com.android.tools.build:gradle:2.2.3 is inside google maven repo google() @tibuurcio actually its not, its a very old version anyway..
      – Peter Haddad
      12 hours ago








    • 2




      @Damiii This is a workaround since Google's own repo for some reason does not have the required dependencies. I suggest removing it after google adds it back or we will know where they moved it.
      – David Sucharda
      12 hours ago








    6




    6




    works - for me it's also not finding com.google.firebase:firebase-plugins:1.1.5 anymore, had to add this repo: maven { url 'dl.bintray.com/firebase/gradle' } ¯_(ツ)_/¯
    – Łukasz Wiśniewski
    13 hours ago






    works - for me it's also not finding com.google.firebase:firebase-plugins:1.1.5 anymore, had to add this repo: maven { url 'dl.bintray.com/firebase/gradle' } ¯_(ツ)_/¯
    – Łukasz Wiśniewski
    13 hours ago














    I'm trying to use a library which tries to find com.android.tools.build:gradle:2.2.3 and I'm getting the same could not find message. I believe it's the same problem. Does anyone know a repository from where I could get it?
    – tibuurcio
    12 hours ago




    I'm trying to use a library which tries to find com.android.tools.build:gradle:2.2.3 and I'm getting the same could not find message. I believe it's the same problem. Does anyone know a repository from where I could get it?
    – tibuurcio
    12 hours ago




    2




    2




    @DavidSucharda is it secure ?! Do google use that ?
    – Damiii
    12 hours ago




    @DavidSucharda is it secure ?! Do google use that ?
    – Damiii
    12 hours ago




    1




    1




    This com.android.tools.build:gradle:2.2.3 is inside google maven repo google() @tibuurcio actually its not, its a very old version anyway..
    – Peter Haddad
    12 hours ago






    This com.android.tools.build:gradle:2.2.3 is inside google maven repo google() @tibuurcio actually its not, its a very old version anyway..
    – Peter Haddad
    12 hours ago






    2




    2




    @Damiii This is a workaround since Google's own repo for some reason does not have the required dependencies. I suggest removing it after google adds it back or we will know where they moved it.
    – David Sucharda
    12 hours ago




    @Damiii This is a workaround since Google's own repo for some reason does not have the required dependencies. I suggest removing it after google adds it back or we will know where they moved it.
    – David Sucharda
    12 hours ago












    up vote
    1
    down vote













    Try adding another maven repository to your project gradle file. For example:



    allprojects {
    repositories {
    google()
    jcenter()
    maven { url "https://jitpack.io" }
    }
    }


    If that doesn't work, adding the OneSignal gradle plugin, also to the project's gradle, might do the trick (as suggested in this answer).



    apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'





    share|improve this answer

























      up vote
      1
      down vote













      Try adding another maven repository to your project gradle file. For example:



      allprojects {
      repositories {
      google()
      jcenter()
      maven { url "https://jitpack.io" }
      }
      }


      If that doesn't work, adding the OneSignal gradle plugin, also to the project's gradle, might do the trick (as suggested in this answer).



      apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'





      share|improve this answer























        up vote
        1
        down vote










        up vote
        1
        down vote









        Try adding another maven repository to your project gradle file. For example:



        allprojects {
        repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
        }
        }


        If that doesn't work, adding the OneSignal gradle plugin, also to the project's gradle, might do the trick (as suggested in this answer).



        apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'





        share|improve this answer












        Try adding another maven repository to your project gradle file. For example:



        allprojects {
        repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
        }
        }


        If that doesn't work, adding the OneSignal gradle plugin, also to the project's gradle, might do the trick (as suggested in this answer).



        apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 15 hours ago









        dglozano

        62920




        62920






















            up vote
            -7
            down vote













            please test with vpn



            also not fix
            you can use oneSignal,
            use it



            and a simple code for android studio java,Kotlin






            share|improve this answer





















            • Why did you get downvoted? Not everyone was lucky to be taught proper English
              – ratsimihah
              11 hours ago










            • @ratsimihah because this reads like comment with a "try" suggestion, links to a potential duplicate, and then links to examples. It's very close to a link-only answer, and if those links go down, it's useless.
              – TheWanderer
              10 hours ago















            up vote
            -7
            down vote













            please test with vpn



            also not fix
            you can use oneSignal,
            use it



            and a simple code for android studio java,Kotlin






            share|improve this answer





















            • Why did you get downvoted? Not everyone was lucky to be taught proper English
              – ratsimihah
              11 hours ago










            • @ratsimihah because this reads like comment with a "try" suggestion, links to a potential duplicate, and then links to examples. It's very close to a link-only answer, and if those links go down, it's useless.
              – TheWanderer
              10 hours ago













            up vote
            -7
            down vote










            up vote
            -7
            down vote









            please test with vpn



            also not fix
            you can use oneSignal,
            use it



            and a simple code for android studio java,Kotlin






            share|improve this answer












            please test with vpn



            also not fix
            you can use oneSignal,
            use it



            and a simple code for android studio java,Kotlin







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 15 hours ago









            hamid

            374




            374












            • Why did you get downvoted? Not everyone was lucky to be taught proper English
              – ratsimihah
              11 hours ago










            • @ratsimihah because this reads like comment with a "try" suggestion, links to a potential duplicate, and then links to examples. It's very close to a link-only answer, and if those links go down, it's useless.
              – TheWanderer
              10 hours ago


















            • Why did you get downvoted? Not everyone was lucky to be taught proper English
              – ratsimihah
              11 hours ago










            • @ratsimihah because this reads like comment with a "try" suggestion, links to a potential duplicate, and then links to examples. It's very close to a link-only answer, and if those links go down, it's useless.
              – TheWanderer
              10 hours ago
















            Why did you get downvoted? Not everyone was lucky to be taught proper English
            – ratsimihah
            11 hours ago




            Why did you get downvoted? Not everyone was lucky to be taught proper English
            – ratsimihah
            11 hours ago












            @ratsimihah because this reads like comment with a "try" suggestion, links to a potential duplicate, and then links to examples. It's very close to a link-only answer, and if those links go down, it's useless.
            – TheWanderer
            10 hours ago




            @ratsimihah because this reads like comment with a "try" suggestion, links to a potential duplicate, and then links to examples. It's very close to a link-only answer, and if those links go down, it's useless.
            – TheWanderer
            10 hours ago



            Popular posts from this blog

            Ellipse (mathématiques)

            Quarter-circle Tiles

            Mont Emei