Android Question [SOLVED] Maven artifact not found: com.google.firebase/firebase-components

scsjc

Well-Known Member
Licensed User
Longtime User
I update last firebase with a "B4A SDK MANAGER" and... get this error:

Maven artifact not found: com.google.firebase/firebase-components
upload_2019-11-12_13-52-38.png
 

josejad

Expert
Licensed User
Longtime User
Hi @ebi99

We can't help you if you just give us that info.
As you can see, this post is marked as "solved", so... ¿have you try the solution in post #2?
You should use the forum search too, this kind of problem ("Maven artifact not found...") is solved installing the required components.

You should read too:
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
I tried the solution in post #2 but get another error.
B4X:
B4A Version: 9.80
Java Version: 8
Parsing code.    (0.28s)
Building folders structure.    (0.03s)
Compiling code.    (3.22s)
Compiling layouts code.    (0.10s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    (1.97s)
Compiling debugger engine code.    (11.33s)
Compiling generated Java code.    (7.44s)
Convert byte code - optimized dex.    Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/AbstractComponentContainer;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component$$Lambda$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component$$Lambda$2;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component$$Lambda$3;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component$Builder;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/ComponentContainer;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/ComponentDiscovery;
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Translation has been interrupted
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:692)
    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:315)
    at com.android.dx.command.dexer.Main.runDx(Main.java:293)
    at com.android.dx.command.dexer.Main.main(Main.java:249)
    at com.android.dx.command.Main.main(Main.java:94)
Caused by: java.lang.InterruptedException: Too many errors
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:684)
    ... 4 more
 
Upvote 0

scsjc

Well-Known Member
Licensed User
Longtime User
I tried the solution in post #2 but get another error.
B4X:
B4A Version: 9.80
Java Version: 8
Parsing code.    (0.28s)
Building folders structure.    (0.03s)
Compiling code.    (3.22s)
Compiling layouts code.    (0.10s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    (1.97s)
Compiling debugger engine code.    (11.33s)
Compiling generated Java code.    (7.44s)
Convert byte code - optimized dex.    Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/AbstractComponentContainer;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component$$Lambda$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component$$Lambda$2;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component$$Lambda$3;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/Component$Builder;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/ComponentContainer;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/components/ComponentDiscovery;
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Translation has been interrupted
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:692)
    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:315)
    at com.android.dx.command.dexer.Main.runDx(Main.java:293)
    at com.android.dx.command.dexer.Main.main(Main.java:249)
    at com.android.dx.command.Main.main(Main.java:94)
Caused by: java.lang.InterruptedException: Too many errors
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:684)
    ... 4 more

I recommend that you create a new thread so that more users can see and be able to solve this error

regards
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Thanks. I did a forum search and found the solution.
 
Upvote 0
Top