Android Question [Solved] Error to compile with Exoplayer 1.51

asales

Expert
Licensed User
Longtime User
I get this error when I try to compile the Exoplayer example with FirebaseAdmob2 2.13.
I followed the instructions to update the Exoplayer 1.50 lib to 1.51 (with the new additional libs package).
Just add the FirebaseAdmod2 lib to the example and the error is raised.
B4X:
Convertendo Byte Code - DEX    Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/common/util/concurrent/ListenableFuture;
1 error; aborting
 
Last edited:

asales

Expert
Licensed User
Longtime User
Make sure that there is no copy of ExoPlayer in the internal libraries folder.

Do you see v1.51 in the libraries tab?
EDIT: I put in the additional lib folder. There is no copy in the internal libraries folder.

The additional resources is put in the aditional lib folder (with the new guava-30.1.1.WithoutListenable.jar).

The SDK is the recommended.

Same error (see the image below):
B4X:
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/common/util/concurrent/ListenableFuture;
1 error; aborting
 
Last edited:
Upvote 0

asales

Expert
Licensed User
Longtime User
1632150696902.png
 
Upvote 0

asales

Expert
Licensed User
Longtime User
Problem solved. Thanks!

Just for information: needed to include the #MultiDex to compile with FirebaseAdmob2 lib.
 
Upvote 0
Top