Failed to resolve: firebase-storage-15.0.0





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















When I add Firebase to my application it shows this error:




Failed to resolve: 'firebase-storage-15.0.0'




And an error on this line: com.android.support:appcompat-v7:28.0.0



apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.rud.younis.csedepertment"
minSdkVersion 19
targetSdkVersion 28
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:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'

}

apply plugin: 'com.google.gms.google-services'









share|improve this question

























  • Can I see your project level build.gradle file?

    – Ishaan Javali
    Nov 21 '18 at 23:28


















0















When I add Firebase to my application it shows this error:




Failed to resolve: 'firebase-storage-15.0.0'




And an error on this line: com.android.support:appcompat-v7:28.0.0



apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.rud.younis.csedepertment"
minSdkVersion 19
targetSdkVersion 28
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:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'

}

apply plugin: 'com.google.gms.google-services'









share|improve this question

























  • Can I see your project level build.gradle file?

    – Ishaan Javali
    Nov 21 '18 at 23:28














0












0








0








When I add Firebase to my application it shows this error:




Failed to resolve: 'firebase-storage-15.0.0'




And an error on this line: com.android.support:appcompat-v7:28.0.0



apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.rud.younis.csedepertment"
minSdkVersion 19
targetSdkVersion 28
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:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'

}

apply plugin: 'com.google.gms.google-services'









share|improve this question
















When I add Firebase to my application it shows this error:




Failed to resolve: 'firebase-storage-15.0.0'




And an error on this line: com.android.support:appcompat-v7:28.0.0



apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.rud.younis.csedepertment"
minSdkVersion 19
targetSdkVersion 28
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:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'

}

apply plugin: 'com.google.gms.google-services'






android firebase firebase-realtime-database build.gradle firebase-storage






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 22 '18 at 9:37









Alex Mamo

47.2k82965




47.2k82965










asked Nov 21 '18 at 23:21









Younis RahmanYounis Rahman

54




54













  • Can I see your project level build.gradle file?

    – Ishaan Javali
    Nov 21 '18 at 23:28



















  • Can I see your project level build.gradle file?

    – Ishaan Javali
    Nov 21 '18 at 23:28

















Can I see your project level build.gradle file?

– Ishaan Javali
Nov 21 '18 at 23:28





Can I see your project level build.gradle file?

– Ishaan Javali
Nov 21 '18 at 23:28












3 Answers
3






active

oldest

votes


















0














You have some major typos in your dependencies:



implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'


What's with the 16.0.1:15.0.0 ?



Change it to 15.0.0 or 16.0.1






share|improve this answer































    0














    You are getting the following error:




    Failed to resolve: 'firebase-storage-15.0.0'




    Because you are using a wrong dependencies in your code. To solve this, please change the following lines of code:



    implementation 'com.google.firebase:firebase-core:16.0.1'
    implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
    implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
    implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'


    to



    implementation 'com.google.firebase:firebase-core:16.0.4'
    implementation 'com.google.firebase:firebase-storage:16.0.5'
    implementation 'com.google.firebase:firebase-auth:16.0.5'
    implementation 'com.google.firebase:firebase-database:16.0.5'


    Because versions such as 16.0.1:15.0.0 does not exist.



    In your top level build.gradle file please be sure to have the latest version of Google Service plugin:



    classpath 'com.google.gms:google-services:4.2.0'





    share|improve this answer
























    • Hi Younis! Have you tried my solution above, does it work?

      – Alex Mamo
      Nov 23 '18 at 9:22



















    0














    I had the same issue. I just updated my android studio and it fixes the error. So, just update your android studio.






    share|improve this answer
























      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%2f53421818%2ffailed-to-resolve-firebase-storage-15-0-0%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      You have some major typos in your dependencies:



      implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
      implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
      implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'


      What's with the 16.0.1:15.0.0 ?



      Change it to 15.0.0 or 16.0.1






      share|improve this answer




























        0














        You have some major typos in your dependencies:



        implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
        implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
        implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'


        What's with the 16.0.1:15.0.0 ?



        Change it to 15.0.0 or 16.0.1






        share|improve this answer


























          0












          0








          0







          You have some major typos in your dependencies:



          implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
          implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
          implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'


          What's with the 16.0.1:15.0.0 ?



          Change it to 15.0.0 or 16.0.1






          share|improve this answer













          You have some major typos in your dependencies:



          implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
          implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
          implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'


          What's with the 16.0.1:15.0.0 ?



          Change it to 15.0.0 or 16.0.1







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 21 '18 at 23:32









          TWLTWL

          2,083625




          2,083625

























              0














              You are getting the following error:




              Failed to resolve: 'firebase-storage-15.0.0'




              Because you are using a wrong dependencies in your code. To solve this, please change the following lines of code:



              implementation 'com.google.firebase:firebase-core:16.0.1'
              implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
              implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
              implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'


              to



              implementation 'com.google.firebase:firebase-core:16.0.4'
              implementation 'com.google.firebase:firebase-storage:16.0.5'
              implementation 'com.google.firebase:firebase-auth:16.0.5'
              implementation 'com.google.firebase:firebase-database:16.0.5'


              Because versions such as 16.0.1:15.0.0 does not exist.



              In your top level build.gradle file please be sure to have the latest version of Google Service plugin:



              classpath 'com.google.gms:google-services:4.2.0'





              share|improve this answer
























              • Hi Younis! Have you tried my solution above, does it work?

                – Alex Mamo
                Nov 23 '18 at 9:22
















              0














              You are getting the following error:




              Failed to resolve: 'firebase-storage-15.0.0'




              Because you are using a wrong dependencies in your code. To solve this, please change the following lines of code:



              implementation 'com.google.firebase:firebase-core:16.0.1'
              implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
              implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
              implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'


              to



              implementation 'com.google.firebase:firebase-core:16.0.4'
              implementation 'com.google.firebase:firebase-storage:16.0.5'
              implementation 'com.google.firebase:firebase-auth:16.0.5'
              implementation 'com.google.firebase:firebase-database:16.0.5'


              Because versions such as 16.0.1:15.0.0 does not exist.



              In your top level build.gradle file please be sure to have the latest version of Google Service plugin:



              classpath 'com.google.gms:google-services:4.2.0'





              share|improve this answer
























              • Hi Younis! Have you tried my solution above, does it work?

                – Alex Mamo
                Nov 23 '18 at 9:22














              0












              0








              0







              You are getting the following error:




              Failed to resolve: 'firebase-storage-15.0.0'




              Because you are using a wrong dependencies in your code. To solve this, please change the following lines of code:



              implementation 'com.google.firebase:firebase-core:16.0.1'
              implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
              implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
              implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'


              to



              implementation 'com.google.firebase:firebase-core:16.0.4'
              implementation 'com.google.firebase:firebase-storage:16.0.5'
              implementation 'com.google.firebase:firebase-auth:16.0.5'
              implementation 'com.google.firebase:firebase-database:16.0.5'


              Because versions such as 16.0.1:15.0.0 does not exist.



              In your top level build.gradle file please be sure to have the latest version of Google Service plugin:



              classpath 'com.google.gms:google-services:4.2.0'





              share|improve this answer













              You are getting the following error:




              Failed to resolve: 'firebase-storage-15.0.0'




              Because you are using a wrong dependencies in your code. To solve this, please change the following lines of code:



              implementation 'com.google.firebase:firebase-core:16.0.1'
              implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
              implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
              implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'


              to



              implementation 'com.google.firebase:firebase-core:16.0.4'
              implementation 'com.google.firebase:firebase-storage:16.0.5'
              implementation 'com.google.firebase:firebase-auth:16.0.5'
              implementation 'com.google.firebase:firebase-database:16.0.5'


              Because versions such as 16.0.1:15.0.0 does not exist.



              In your top level build.gradle file please be sure to have the latest version of Google Service plugin:



              classpath 'com.google.gms:google-services:4.2.0'






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Nov 22 '18 at 9:35









              Alex MamoAlex Mamo

              47.2k82965




              47.2k82965













              • Hi Younis! Have you tried my solution above, does it work?

                – Alex Mamo
                Nov 23 '18 at 9:22



















              • Hi Younis! Have you tried my solution above, does it work?

                – Alex Mamo
                Nov 23 '18 at 9:22

















              Hi Younis! Have you tried my solution above, does it work?

              – Alex Mamo
              Nov 23 '18 at 9:22





              Hi Younis! Have you tried my solution above, does it work?

              – Alex Mamo
              Nov 23 '18 at 9:22











              0














              I had the same issue. I just updated my android studio and it fixes the error. So, just update your android studio.






              share|improve this answer




























                0














                I had the same issue. I just updated my android studio and it fixes the error. So, just update your android studio.






                share|improve this answer


























                  0












                  0








                  0







                  I had the same issue. I just updated my android studio and it fixes the error. So, just update your android studio.






                  share|improve this answer













                  I had the same issue. I just updated my android studio and it fixes the error. So, just update your android studio.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 15 at 10:41









                  Kamran AhmedKamran Ahmed

                  1




                  1






























                      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%2f53421818%2ffailed-to-resolve-firebase-storage-15-0-0%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







                      Popular posts from this blog

                      Guess what letter conforming each word

                      Port of Spain

                      Run scheduled task as local user group (not BUILTIN)