Android Question FirebaseML problem

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
hello all
after i updated my sdk for FirebaseML required component
and add the lib. FirebaseMLV0.8
i tried to run the FirebaseMLVisionEx example
but it shows the following error
.,,,,,,,,,,,,,,,,,,,,,,,,,
and i had another error in another app that was working before updating the sdk
any help?
and thank you in advance
 
Last edited:

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Today I got these errors:
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/inject/Provider;
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;
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Start with a new project. Only implement ML. Does it work?

Add dependencies until you got the error.

You must find the multiple dependency.

Also note that you should not use an UPDATED SDK. At least the firebase-artifacts should not be updated as Google is changing a lot.
 
Upvote 0

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Dear @DonManfred project works only if I removed all firebase libraries!! I added them one by one, the problem exist!!
I think error belongs is to firebase cores or whatever, Mr @Erel should fix this error, it is serious problem. Most of us need sdk updates, also who update sdk accedintly like me, He can't go back!

The link to the sdk is here: https://www.b4x.com/b4a.html
I try, no luck!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…