How to fix this error in my app's dependencies?












-2















When I see my build.gradle file, I see this red squiggle under the support library



Android Support library error



can anyone help me with this error?










share|improve this question

























  • what error this gives ? means only red line then just rebuild project and try again

    – Ashish
    Jan 1 at 15:57













  • Try migrating to AndroidX. Do this- Got to Refactor option in Android Studio Ribbon, and click Migrate to AndroidX as suggested in my Answer

    – Gourav
    Jan 1 at 16:19






  • 3





    a) please don't post screenshots of errors, because it is a waste of time and b) this is a support library version conflict. just hover with the mouse and see what it complains about; this question also is a duplicate; just cannot find it right now. with the actual error message I could find it quickly. voted to close this, because it is unclear what your are asking without the least error message. see stackoverflow.com/help/how-to-ask

    – Martin Zeitler
    Jan 1 at 17:31













  • Possible duplicate of All com.android.support libraries must use the exact same version specification

    – Gourav
    Jan 14 at 14:36
















-2















When I see my build.gradle file, I see this red squiggle under the support library



Android Support library error



can anyone help me with this error?










share|improve this question

























  • what error this gives ? means only red line then just rebuild project and try again

    – Ashish
    Jan 1 at 15:57













  • Try migrating to AndroidX. Do this- Got to Refactor option in Android Studio Ribbon, and click Migrate to AndroidX as suggested in my Answer

    – Gourav
    Jan 1 at 16:19






  • 3





    a) please don't post screenshots of errors, because it is a waste of time and b) this is a support library version conflict. just hover with the mouse and see what it complains about; this question also is a duplicate; just cannot find it right now. with the actual error message I could find it quickly. voted to close this, because it is unclear what your are asking without the least error message. see stackoverflow.com/help/how-to-ask

    – Martin Zeitler
    Jan 1 at 17:31













  • Possible duplicate of All com.android.support libraries must use the exact same version specification

    – Gourav
    Jan 14 at 14:36














-2












-2








-2








When I see my build.gradle file, I see this red squiggle under the support library



Android Support library error



can anyone help me with this error?










share|improve this question
















When I see my build.gradle file, I see this red squiggle under the support library



Android Support library error



can anyone help me with this error?







android






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 14 at 14:30









Gourav

6131628




6131628










asked Jan 1 at 15:52









user3252088user3252088

1




1













  • what error this gives ? means only red line then just rebuild project and try again

    – Ashish
    Jan 1 at 15:57













  • Try migrating to AndroidX. Do this- Got to Refactor option in Android Studio Ribbon, and click Migrate to AndroidX as suggested in my Answer

    – Gourav
    Jan 1 at 16:19






  • 3





    a) please don't post screenshots of errors, because it is a waste of time and b) this is a support library version conflict. just hover with the mouse and see what it complains about; this question also is a duplicate; just cannot find it right now. with the actual error message I could find it quickly. voted to close this, because it is unclear what your are asking without the least error message. see stackoverflow.com/help/how-to-ask

    – Martin Zeitler
    Jan 1 at 17:31













  • Possible duplicate of All com.android.support libraries must use the exact same version specification

    – Gourav
    Jan 14 at 14:36



















  • what error this gives ? means only red line then just rebuild project and try again

    – Ashish
    Jan 1 at 15:57













  • Try migrating to AndroidX. Do this- Got to Refactor option in Android Studio Ribbon, and click Migrate to AndroidX as suggested in my Answer

    – Gourav
    Jan 1 at 16:19






  • 3





    a) please don't post screenshots of errors, because it is a waste of time and b) this is a support library version conflict. just hover with the mouse and see what it complains about; this question also is a duplicate; just cannot find it right now. with the actual error message I could find it quickly. voted to close this, because it is unclear what your are asking without the least error message. see stackoverflow.com/help/how-to-ask

    – Martin Zeitler
    Jan 1 at 17:31













  • Possible duplicate of All com.android.support libraries must use the exact same version specification

    – Gourav
    Jan 14 at 14:36

















what error this gives ? means only red line then just rebuild project and try again

– Ashish
Jan 1 at 15:57







what error this gives ? means only red line then just rebuild project and try again

– Ashish
Jan 1 at 15:57















Try migrating to AndroidX. Do this- Got to Refactor option in Android Studio Ribbon, and click Migrate to AndroidX as suggested in my Answer

– Gourav
Jan 1 at 16:19





Try migrating to AndroidX. Do this- Got to Refactor option in Android Studio Ribbon, and click Migrate to AndroidX as suggested in my Answer

– Gourav
Jan 1 at 16:19




3




3





a) please don't post screenshots of errors, because it is a waste of time and b) this is a support library version conflict. just hover with the mouse and see what it complains about; this question also is a duplicate; just cannot find it right now. with the actual error message I could find it quickly. voted to close this, because it is unclear what your are asking without the least error message. see stackoverflow.com/help/how-to-ask

– Martin Zeitler
Jan 1 at 17:31







a) please don't post screenshots of errors, because it is a waste of time and b) this is a support library version conflict. just hover with the mouse and see what it complains about; this question also is a duplicate; just cannot find it right now. with the actual error message I could find it quickly. voted to close this, because it is unclear what your are asking without the least error message. see stackoverflow.com/help/how-to-ask

– Martin Zeitler
Jan 1 at 17:31















Possible duplicate of All com.android.support libraries must use the exact same version specification

– Gourav
Jan 14 at 14:36





Possible duplicate of All com.android.support libraries must use the exact same version specification

– Gourav
Jan 14 at 14:36












2 Answers
2






active

oldest

votes


















0














this error will solved if you use the latest version of every library for this project
steps to solve take each library and search for the version of from google.com






share|improve this answer































    0














    Go to the Refactor option in the ribbon of Android Studio. The click Migrate to AndroidX.

    This will resolve the error!



    The error resolves is because AndroidX is one of the latest Android Libraries(Like the Support library)! This will surely remove the error




    Note: Please backup your Project when prompted! If you don't know much about AndroidX, please backup your project and then try it!





    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%2f53996832%2fhow-to-fix-this-error-in-my-apps-dependencies%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      this error will solved if you use the latest version of every library for this project
      steps to solve take each library and search for the version of from google.com






      share|improve this answer




























        0














        this error will solved if you use the latest version of every library for this project
        steps to solve take each library and search for the version of from google.com






        share|improve this answer


























          0












          0








          0







          this error will solved if you use the latest version of every library for this project
          steps to solve take each library and search for the version of from google.com






          share|improve this answer













          this error will solved if you use the latest version of every library for this project
          steps to solve take each library and search for the version of from google.com







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 1 at 16:05









          mostafa zaghloulmostafa zaghloul

          557




          557

























              0














              Go to the Refactor option in the ribbon of Android Studio. The click Migrate to AndroidX.

              This will resolve the error!



              The error resolves is because AndroidX is one of the latest Android Libraries(Like the Support library)! This will surely remove the error




              Note: Please backup your Project when prompted! If you don't know much about AndroidX, please backup your project and then try it!





              share|improve this answer






























                0














                Go to the Refactor option in the ribbon of Android Studio. The click Migrate to AndroidX.

                This will resolve the error!



                The error resolves is because AndroidX is one of the latest Android Libraries(Like the Support library)! This will surely remove the error




                Note: Please backup your Project when prompted! If you don't know much about AndroidX, please backup your project and then try it!





                share|improve this answer




























                  0












                  0








                  0







                  Go to the Refactor option in the ribbon of Android Studio. The click Migrate to AndroidX.

                  This will resolve the error!



                  The error resolves is because AndroidX is one of the latest Android Libraries(Like the Support library)! This will surely remove the error




                  Note: Please backup your Project when prompted! If you don't know much about AndroidX, please backup your project and then try it!





                  share|improve this answer















                  Go to the Refactor option in the ribbon of Android Studio. The click Migrate to AndroidX.

                  This will resolve the error!



                  The error resolves is because AndroidX is one of the latest Android Libraries(Like the Support library)! This will surely remove the error




                  Note: Please backup your Project when prompted! If you don't know much about AndroidX, please backup your project and then try it!






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 14 at 10:50

























                  answered Jan 1 at 16:18









                  GouravGourav

                  6131628




                  6131628






























                      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%2f53996832%2fhow-to-fix-this-error-in-my-apps-dependencies%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

                      Monofisismo

                      Angular Downloading a file using contenturl with Basic Authentication

                      Olmecas