Firebase conflicts my gradle *Mixing versions can lead to runtime crashes"












0















At least I believe firebase is the problem since it only happens when I add admob to the the mix



if I dont add this line implementation 'com.google.firebase:firebase-ads:17.0.0' everything is ok. trying to find a way to find older versions of this library to maybe resolve my error but to no luck



  implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.daimajia.easing:library:2.0@aar'
implementation 'com.daimajia.androidanimations:library:2.3@aar'
implementation 'com.android.support:design:27.1.1'
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.android.support:palette-v7:27.1.1'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.google.firebase:firebase-ads:17.0.0'


enter image description here










share|improve this question

























  • are you getting warning or error ?

    – Manohar Reddy
    Nov 21 '18 at 10:29











  • Do you get an error or what is the behaviour? Please also share the content of the other build.gradle file. Please responde with @AlexMamo

    – Alex Mamo
    Nov 21 '18 at 10:30











  • Hello, I have added the Error as screenshot on my original post

    – Demeteor
    Nov 21 '18 at 10:31











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

    – Manohar Reddy
    Nov 21 '18 at 10:37
















0















At least I believe firebase is the problem since it only happens when I add admob to the the mix



if I dont add this line implementation 'com.google.firebase:firebase-ads:17.0.0' everything is ok. trying to find a way to find older versions of this library to maybe resolve my error but to no luck



  implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.daimajia.easing:library:2.0@aar'
implementation 'com.daimajia.androidanimations:library:2.3@aar'
implementation 'com.android.support:design:27.1.1'
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.android.support:palette-v7:27.1.1'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.google.firebase:firebase-ads:17.0.0'


enter image description here










share|improve this question

























  • are you getting warning or error ?

    – Manohar Reddy
    Nov 21 '18 at 10:29











  • Do you get an error or what is the behaviour? Please also share the content of the other build.gradle file. Please responde with @AlexMamo

    – Alex Mamo
    Nov 21 '18 at 10:30











  • Hello, I have added the Error as screenshot on my original post

    – Demeteor
    Nov 21 '18 at 10:31











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

    – Manohar Reddy
    Nov 21 '18 at 10:37














0












0








0








At least I believe firebase is the problem since it only happens when I add admob to the the mix



if I dont add this line implementation 'com.google.firebase:firebase-ads:17.0.0' everything is ok. trying to find a way to find older versions of this library to maybe resolve my error but to no luck



  implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.daimajia.easing:library:2.0@aar'
implementation 'com.daimajia.androidanimations:library:2.3@aar'
implementation 'com.android.support:design:27.1.1'
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.android.support:palette-v7:27.1.1'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.google.firebase:firebase-ads:17.0.0'


enter image description here










share|improve this question
















At least I believe firebase is the problem since it only happens when I add admob to the the mix



if I dont add this line implementation 'com.google.firebase:firebase-ads:17.0.0' everything is ok. trying to find a way to find older versions of this library to maybe resolve my error but to no luck



  implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.daimajia.easing:library:2.0@aar'
implementation 'com.daimajia.androidanimations:library:2.3@aar'
implementation 'com.android.support:design:27.1.1'
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.android.support:palette-v7:27.1.1'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.google.firebase:firebase-ads:17.0.0'


enter image description here







android firebase






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 '18 at 14:51









Frank van Puffelen

240k29384411




240k29384411










asked Nov 21 '18 at 10:24









DemeteorDemeteor

4491516




4491516













  • are you getting warning or error ?

    – Manohar Reddy
    Nov 21 '18 at 10:29











  • Do you get an error or what is the behaviour? Please also share the content of the other build.gradle file. Please responde with @AlexMamo

    – Alex Mamo
    Nov 21 '18 at 10:30











  • Hello, I have added the Error as screenshot on my original post

    – Demeteor
    Nov 21 '18 at 10:31











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

    – Manohar Reddy
    Nov 21 '18 at 10:37



















  • are you getting warning or error ?

    – Manohar Reddy
    Nov 21 '18 at 10:29











  • Do you get an error or what is the behaviour? Please also share the content of the other build.gradle file. Please responde with @AlexMamo

    – Alex Mamo
    Nov 21 '18 at 10:30











  • Hello, I have added the Error as screenshot on my original post

    – Demeteor
    Nov 21 '18 at 10:31











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

    – Manohar Reddy
    Nov 21 '18 at 10:37

















are you getting warning or error ?

– Manohar Reddy
Nov 21 '18 at 10:29





are you getting warning or error ?

– Manohar Reddy
Nov 21 '18 at 10:29













Do you get an error or what is the behaviour? Please also share the content of the other build.gradle file. Please responde with @AlexMamo

– Alex Mamo
Nov 21 '18 at 10:30





Do you get an error or what is the behaviour? Please also share the content of the other build.gradle file. Please responde with @AlexMamo

– Alex Mamo
Nov 21 '18 at 10:30













Hello, I have added the Error as screenshot on my original post

– Demeteor
Nov 21 '18 at 10:31





Hello, I have added the Error as screenshot on my original post

– Demeteor
Nov 21 '18 at 10:31













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

– Manohar Reddy
Nov 21 '18 at 10:37





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

– Manohar Reddy
Nov 21 '18 at 10:37












2 Answers
2






active

oldest

votes


















2














Those warnings can be solved by adding the following lines of code in your build.gradle file:



implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.android.support:animated-vector-drawable:27.1.1'





share|improve this answer
























  • Ok this seemed to do the trick> but I get this on my console add a valid * * App ID inside the AndroidManifest I just need to do my manifest and add my id when i get one and it be ok right ?

    – Demeteor
    Nov 21 '18 at 10:52











  • Good to hear that :) Yes, that's correct.

    – Alex Mamo
    Nov 21 '18 at 10:57











  • thanks a lot have a great day

    – Demeteor
    Nov 21 '18 at 10:58











  • You're welcome, you too!

    – Alex Mamo
    Nov 21 '18 at 10:58



















0














Use implementation 'com.google.firebase:firebase-ads:17.1.1'






share|improve this answer
























  • Hi i added the error as screenshot on my original post

    – Demeteor
    Nov 21 '18 at 10:31











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%2f53409971%2ffirebase-conflicts-my-gradle-mixing-versions-can-lead-to-runtime-crashes%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









2














Those warnings can be solved by adding the following lines of code in your build.gradle file:



implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.android.support:animated-vector-drawable:27.1.1'





share|improve this answer
























  • Ok this seemed to do the trick> but I get this on my console add a valid * * App ID inside the AndroidManifest I just need to do my manifest and add my id when i get one and it be ok right ?

    – Demeteor
    Nov 21 '18 at 10:52











  • Good to hear that :) Yes, that's correct.

    – Alex Mamo
    Nov 21 '18 at 10:57











  • thanks a lot have a great day

    – Demeteor
    Nov 21 '18 at 10:58











  • You're welcome, you too!

    – Alex Mamo
    Nov 21 '18 at 10:58
















2














Those warnings can be solved by adding the following lines of code in your build.gradle file:



implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.android.support:animated-vector-drawable:27.1.1'





share|improve this answer
























  • Ok this seemed to do the trick> but I get this on my console add a valid * * App ID inside the AndroidManifest I just need to do my manifest and add my id when i get one and it be ok right ?

    – Demeteor
    Nov 21 '18 at 10:52











  • Good to hear that :) Yes, that's correct.

    – Alex Mamo
    Nov 21 '18 at 10:57











  • thanks a lot have a great day

    – Demeteor
    Nov 21 '18 at 10:58











  • You're welcome, you too!

    – Alex Mamo
    Nov 21 '18 at 10:58














2












2








2







Those warnings can be solved by adding the following lines of code in your build.gradle file:



implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.android.support:animated-vector-drawable:27.1.1'





share|improve this answer













Those warnings can be solved by adding the following lines of code in your build.gradle file:



implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.android.support:animated-vector-drawable:27.1.1'






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 21 '18 at 10:35









Alex MamoAlex Mamo

45.3k82863




45.3k82863













  • Ok this seemed to do the trick> but I get this on my console add a valid * * App ID inside the AndroidManifest I just need to do my manifest and add my id when i get one and it be ok right ?

    – Demeteor
    Nov 21 '18 at 10:52











  • Good to hear that :) Yes, that's correct.

    – Alex Mamo
    Nov 21 '18 at 10:57











  • thanks a lot have a great day

    – Demeteor
    Nov 21 '18 at 10:58











  • You're welcome, you too!

    – Alex Mamo
    Nov 21 '18 at 10:58



















  • Ok this seemed to do the trick> but I get this on my console add a valid * * App ID inside the AndroidManifest I just need to do my manifest and add my id when i get one and it be ok right ?

    – Demeteor
    Nov 21 '18 at 10:52











  • Good to hear that :) Yes, that's correct.

    – Alex Mamo
    Nov 21 '18 at 10:57











  • thanks a lot have a great day

    – Demeteor
    Nov 21 '18 at 10:58











  • You're welcome, you too!

    – Alex Mamo
    Nov 21 '18 at 10:58

















Ok this seemed to do the trick> but I get this on my console add a valid * * App ID inside the AndroidManifest I just need to do my manifest and add my id when i get one and it be ok right ?

– Demeteor
Nov 21 '18 at 10:52





Ok this seemed to do the trick> but I get this on my console add a valid * * App ID inside the AndroidManifest I just need to do my manifest and add my id when i get one and it be ok right ?

– Demeteor
Nov 21 '18 at 10:52













Good to hear that :) Yes, that's correct.

– Alex Mamo
Nov 21 '18 at 10:57





Good to hear that :) Yes, that's correct.

– Alex Mamo
Nov 21 '18 at 10:57













thanks a lot have a great day

– Demeteor
Nov 21 '18 at 10:58





thanks a lot have a great day

– Demeteor
Nov 21 '18 at 10:58













You're welcome, you too!

– Alex Mamo
Nov 21 '18 at 10:58





You're welcome, you too!

– Alex Mamo
Nov 21 '18 at 10:58













0














Use implementation 'com.google.firebase:firebase-ads:17.1.1'






share|improve this answer
























  • Hi i added the error as screenshot on my original post

    – Demeteor
    Nov 21 '18 at 10:31
















0














Use implementation 'com.google.firebase:firebase-ads:17.1.1'






share|improve this answer
























  • Hi i added the error as screenshot on my original post

    – Demeteor
    Nov 21 '18 at 10:31














0












0








0







Use implementation 'com.google.firebase:firebase-ads:17.1.1'






share|improve this answer













Use implementation 'com.google.firebase:firebase-ads:17.1.1'







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 21 '18 at 10:27









Bartłomiej RasztabigaBartłomiej Rasztabiga

637




637













  • Hi i added the error as screenshot on my original post

    – Demeteor
    Nov 21 '18 at 10:31



















  • Hi i added the error as screenshot on my original post

    – Demeteor
    Nov 21 '18 at 10:31

















Hi i added the error as screenshot on my original post

– Demeteor
Nov 21 '18 at 10:31





Hi i added the error as screenshot on my original post

– Demeteor
Nov 21 '18 at 10:31


















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%2f53409971%2ffirebase-conflicts-my-gradle-mixing-versions-can-lead-to-runtime-crashes%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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?