Firebase dependencies create errors on runtime Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!How do I tell Maven to use the latest version of a dependency?“Debug certificate expired” error in Eclipse Android pluginsclasses error android studio 1.0.1 in gradle assemblereleaseError: File path too long on windows, keep below 240 charactersFirebase dependency conflict Found 'com.google.firebase:firebase-database:11.0.4', with 'com.google.android.gms:play-services-vision:9.4.0'Gradle issue, Can't build or run the ionic/cordova/android projectGradle syncing failed in Android studio 3.2 canary 15 for creating app bundleNPE on FirebaseFunctions getInstancecom.android.builder.dexing.DexArchiveBuilderException: Error while dexingUnable to use Google Analytics and Firebase dependencies Same Time

How many time has Arya actually used Needle?

Where and when has Thucydides been studied?

Was the pager message from Nick Fury to Captain Marvel unnecessary?

Why not use the yoke to control yaw, as well as pitch and roll?

Does the main washing effect of soap come from foam?

Can gravitational waves pass through a black hole?

My mentor says to set image to Fine instead of RAW — how is this different from JPG?

Vertical ranges of Column Plots in 12

Fit odd number of triplets in a measure?

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

Determine whether an integer is a palindrome

How to make an animal which can only breed for a certain number of generations?

How do you cope with tons of web fonts when copying and pasting from web pages?

What should one know about term logic before studying propositional and predicate logic?

3D Masyu - A Die

How to make triangles with rounded sides and corners? (squircle with 3 sides)

What did Turing mean when saying that "machines cannot give rise to surprises" is due to a fallacy?

Is a copyright notice with a non-existent name be invalid?

Getting representations of the Lie group out of representations of its Lie algebra

What helicopter has the most rotor blades?

What is "Lambda" in Heston's original paper on stochastic volatility models?

Any stored/leased 737s that could substitute for grounded MAXs?

calculator's angle answer for trig ratios that can work in more than 1 quadrant on the unit circle

How to infer difference of population proportion between two groups when proportion is small?



Firebase dependencies create errors on runtime



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!How do I tell Maven to use the latest version of a dependency?“Debug certificate expired” error in Eclipse Android pluginsclasses error android studio 1.0.1 in gradle assemblereleaseError: File path too long on windows, keep below 240 charactersFirebase dependency conflict Found 'com.google.firebase:firebase-database:11.0.4', with 'com.google.android.gms:play-services-vision:9.4.0'Gradle issue, Can't build or run the ionic/cordova/android projectGradle syncing failed in Android studio 3.2 canary 15 for creating app bundleNPE on FirebaseFunctions getInstancecom.android.builder.dexing.DexArchiveBuilderException: Error while dexingUnable to use Google Analytics and Firebase dependencies Same Time



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








1















Error: Type com.google.android.gms.common.internal.zzf is referenced as an interface from `com.google.android.gms.internal.zzcar`.


Continuously getting same issues whatever I am trying. Nothing work.



Java Compiler:
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/.gradle/caches/transforms-1/files-1.1/play-services-gass-11.0.4.aar/c9497d6850772046db2c4c9a12ec798a/jars/classes.jar

Caused by: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing.

Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete

Caused by: com.android.tools.r8.utils.AbortException: Error: Type com.google.android.gms.common.internal.zzf is referenced as an interface from `com.google.android.gms.internal.zzcar`.


build.gradle(app):-



implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.android.libraries.places:places:1.0.0'

implementation ('com.google.firebase:firebase-core:16.0.8')
exclude group: 'com.google.android.gms'


implementation ('com.google.firebase:firebase-messaging:17.5.0')
exclude group: 'com.google.android.gms'

implementation 'com.firebase:firebase-client-android:2.5.1'


build.gradle(project):-



dependencies 
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'io.fabric.tools:gradle:1.25.4'



If anyone know where I am going wrong, please help me to resolve this.



Thanks in Advance!!










share|improve this question






















  • Try remove the exclude group: 'com.google.android.gms' from at least one of firebase imports in gradle

    – ronginat
    Mar 22 at 13:18











  • tried..not working :(

    – priyanka kataria
    Mar 22 at 13:31











  • com.firebase:firebase-client-android is the old legacy FIrebase. You should consider upgrading to use firebase-database.

    – Bob Snyder
    Mar 23 at 5:54

















1















Error: Type com.google.android.gms.common.internal.zzf is referenced as an interface from `com.google.android.gms.internal.zzcar`.


Continuously getting same issues whatever I am trying. Nothing work.



Java Compiler:
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/.gradle/caches/transforms-1/files-1.1/play-services-gass-11.0.4.aar/c9497d6850772046db2c4c9a12ec798a/jars/classes.jar

Caused by: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing.

Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete

Caused by: com.android.tools.r8.utils.AbortException: Error: Type com.google.android.gms.common.internal.zzf is referenced as an interface from `com.google.android.gms.internal.zzcar`.


build.gradle(app):-



implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.android.libraries.places:places:1.0.0'

implementation ('com.google.firebase:firebase-core:16.0.8')
exclude group: 'com.google.android.gms'


implementation ('com.google.firebase:firebase-messaging:17.5.0')
exclude group: 'com.google.android.gms'

implementation 'com.firebase:firebase-client-android:2.5.1'


build.gradle(project):-



dependencies 
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'io.fabric.tools:gradle:1.25.4'



If anyone know where I am going wrong, please help me to resolve this.



Thanks in Advance!!










share|improve this question






















  • Try remove the exclude group: 'com.google.android.gms' from at least one of firebase imports in gradle

    – ronginat
    Mar 22 at 13:18











  • tried..not working :(

    – priyanka kataria
    Mar 22 at 13:31











  • com.firebase:firebase-client-android is the old legacy FIrebase. You should consider upgrading to use firebase-database.

    – Bob Snyder
    Mar 23 at 5:54













1












1








1








Error: Type com.google.android.gms.common.internal.zzf is referenced as an interface from `com.google.android.gms.internal.zzcar`.


Continuously getting same issues whatever I am trying. Nothing work.



Java Compiler:
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/.gradle/caches/transforms-1/files-1.1/play-services-gass-11.0.4.aar/c9497d6850772046db2c4c9a12ec798a/jars/classes.jar

Caused by: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing.

Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete

Caused by: com.android.tools.r8.utils.AbortException: Error: Type com.google.android.gms.common.internal.zzf is referenced as an interface from `com.google.android.gms.internal.zzcar`.


build.gradle(app):-



implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.android.libraries.places:places:1.0.0'

implementation ('com.google.firebase:firebase-core:16.0.8')
exclude group: 'com.google.android.gms'


implementation ('com.google.firebase:firebase-messaging:17.5.0')
exclude group: 'com.google.android.gms'

implementation 'com.firebase:firebase-client-android:2.5.1'


build.gradle(project):-



dependencies 
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'io.fabric.tools:gradle:1.25.4'



If anyone know where I am going wrong, please help me to resolve this.



Thanks in Advance!!










share|improve this question














Error: Type com.google.android.gms.common.internal.zzf is referenced as an interface from `com.google.android.gms.internal.zzcar`.


Continuously getting same issues whatever I am trying. Nothing work.



Java Compiler:
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/.gradle/caches/transforms-1/files-1.1/play-services-gass-11.0.4.aar/c9497d6850772046db2c4c9a12ec798a/jars/classes.jar

Caused by: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing.

Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete

Caused by: com.android.tools.r8.utils.AbortException: Error: Type com.google.android.gms.common.internal.zzf is referenced as an interface from `com.google.android.gms.internal.zzcar`.


build.gradle(app):-



implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.android.libraries.places:places:1.0.0'

implementation ('com.google.firebase:firebase-core:16.0.8')
exclude group: 'com.google.android.gms'


implementation ('com.google.firebase:firebase-messaging:17.5.0')
exclude group: 'com.google.android.gms'

implementation 'com.firebase:firebase-client-android:2.5.1'


build.gradle(project):-



dependencies 
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'io.fabric.tools:gradle:1.25.4'



If anyone know where I am going wrong, please help me to resolve this.



Thanks in Advance!!







android firebase dependencies






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 22 at 13:00









priyanka katariapriyanka kataria

17712




17712












  • Try remove the exclude group: 'com.google.android.gms' from at least one of firebase imports in gradle

    – ronginat
    Mar 22 at 13:18











  • tried..not working :(

    – priyanka kataria
    Mar 22 at 13:31











  • com.firebase:firebase-client-android is the old legacy FIrebase. You should consider upgrading to use firebase-database.

    – Bob Snyder
    Mar 23 at 5:54

















  • Try remove the exclude group: 'com.google.android.gms' from at least one of firebase imports in gradle

    – ronginat
    Mar 22 at 13:18











  • tried..not working :(

    – priyanka kataria
    Mar 22 at 13:31











  • com.firebase:firebase-client-android is the old legacy FIrebase. You should consider upgrading to use firebase-database.

    – Bob Snyder
    Mar 23 at 5:54
















Try remove the exclude group: 'com.google.android.gms' from at least one of firebase imports in gradle

– ronginat
Mar 22 at 13:18





Try remove the exclude group: 'com.google.android.gms' from at least one of firebase imports in gradle

– ronginat
Mar 22 at 13:18













tried..not working :(

– priyanka kataria
Mar 22 at 13:31





tried..not working :(

– priyanka kataria
Mar 22 at 13:31













com.firebase:firebase-client-android is the old legacy FIrebase. You should consider upgrading to use firebase-database.

– Bob Snyder
Mar 23 at 5:54





com.firebase:firebase-client-android is the old legacy FIrebase. You should consider upgrading to use firebase-database.

– Bob Snyder
Mar 23 at 5:54












1 Answer
1






active

oldest

votes


















0














Just this should work:



dependencies 
// ...
implementation 'com.google.firebase:firebase-core:16.0.8'






share|improve this answer























  • Not working...already tried :(

    – priyanka kataria
    Mar 22 at 13:49











  • maybe an older version works did you try implementation 'com.google.firebase:firebase-core:16.0.4'

    – MoD
    Mar 22 at 14:10












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%2f55300198%2ffirebase-dependencies-create-errors-on-runtime%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Just this should work:



dependencies 
// ...
implementation 'com.google.firebase:firebase-core:16.0.8'






share|improve this answer























  • Not working...already tried :(

    – priyanka kataria
    Mar 22 at 13:49











  • maybe an older version works did you try implementation 'com.google.firebase:firebase-core:16.0.4'

    – MoD
    Mar 22 at 14:10
















0














Just this should work:



dependencies 
// ...
implementation 'com.google.firebase:firebase-core:16.0.8'






share|improve this answer























  • Not working...already tried :(

    – priyanka kataria
    Mar 22 at 13:49











  • maybe an older version works did you try implementation 'com.google.firebase:firebase-core:16.0.4'

    – MoD
    Mar 22 at 14:10














0












0








0







Just this should work:



dependencies 
// ...
implementation 'com.google.firebase:firebase-core:16.0.8'






share|improve this answer













Just this should work:



dependencies 
// ...
implementation 'com.google.firebase:firebase-core:16.0.8'







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 22 at 13:46









MoDMoD

238




238












  • Not working...already tried :(

    – priyanka kataria
    Mar 22 at 13:49











  • maybe an older version works did you try implementation 'com.google.firebase:firebase-core:16.0.4'

    – MoD
    Mar 22 at 14:10


















  • Not working...already tried :(

    – priyanka kataria
    Mar 22 at 13:49











  • maybe an older version works did you try implementation 'com.google.firebase:firebase-core:16.0.4'

    – MoD
    Mar 22 at 14:10

















Not working...already tried :(

– priyanka kataria
Mar 22 at 13:49





Not working...already tried :(

– priyanka kataria
Mar 22 at 13:49













maybe an older version works did you try implementation 'com.google.firebase:firebase-core:16.0.4'

– MoD
Mar 22 at 14:10






maybe an older version works did you try implementation 'com.google.firebase:firebase-core:16.0.4'

– MoD
Mar 22 at 14:10




















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%2f55300198%2ffirebase-dependencies-create-errors-on-runtime%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

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현