How to fix this error in my app's dependencies?
When I see my build.gradle
file, I see this red squiggle under the support library
can anyone help me with this error?
android
add a comment |
When I see my build.gradle
file, I see this red squiggle under the support library
can anyone help me with this error?
android
what error this gives ? means only red line then just rebuild project and try again
– Ashish
Jan 1 at 15:57
Try migrating toAndroidX
. 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
add a comment |
When I see my build.gradle
file, I see this red squiggle under the support library
can anyone help me with this error?
android
When I see my build.gradle
file, I see this red squiggle under the support library
can anyone help me with this error?
android
android
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 toAndroidX
. 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
add a comment |
what error this gives ? means only red line then just rebuild project and try again
– Ashish
Jan 1 at 15:57
Try migrating toAndroidX
. 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
add a comment |
2 Answers
2
active
oldest
votes
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
add a comment |
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!
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Jan 1 at 16:05
mostafa zaghloulmostafa zaghloul
557
557
add a comment |
add a comment |
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!
add a comment |
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!
add a comment |
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!
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!
edited Jan 14 at 10:50
answered Jan 1 at 16:18
GouravGourav
6131628
6131628
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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