Android Question Error java.lang.IllegalArgumentException already added: Lcom/google/common/base/FinalizableReference

stefanoa

Active Member
Licensed User
Longtime User
I can not resolve this error when compiling:
B4X:
java.lang.IllegalArgumentException: already added: Lcom/google/common/base/FinalizableReference

i also updated sdk wih B4ASdkManager, but the problem is not resolved.
This is the error message:
B4X:
B4A version: 7.00
Parsing code.    (0.57s)
Compiling code.    (2.00s)
Compiling layouts code.    (0.32s)
Organizing libraries.    (0.00s)
Generating R file.    (2.17s)
Compiling generated Java code.    (8.98s)
Convert byte code - optimized dex.    Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/common/base/FinalizableReference;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/common/base/internal/Finalizer;
2 errors; aborting

These are some of the libraries used:
upload_2017-6-22_13-57-17.png


Can you help me?
thanks
 

stefanoa

Active Member
Licensed User
Longtime User
This error is not related to the Firebase libraries. Try this, create a new project and add all these libraries. Does it compile? If not then start removing libraries until it compiles and find which library causes this issue.
Thanks.
The problem is in the simultaneous presence of the 2 libraries FirebaseAdMob 1.31 and SQLCipher 1.40
Disabling one library, compilation is successful.
Do you have any idea how to solve the problem?
 
Upvote 0

stefanoa

Active Member
Licensed User
Longtime User
updated just now. same problem. Have you tried too a new project with only those 2 libraries?

upload_2017-6-25_18-1-51.png
 
Upvote 0
Top