Android Question Dex merge - Error!

T201016

Active Member
Licensed User
Longtime User
Hello,
An unexpected error occurred while compiling my project. This happens whenever I include the ExoPlayer 1.52 library in the project.
Has anyone had a similar problem and maybe have a solution?

Compilation using:
B4A 11.80, Java 8, Android 8.

Finding libraries that need to be dexed. (0.03s)
Dex: exoplayer_desugar (6.81s)
Dex: guava-30.1.1.WithoutListenable (5.44s)
Dex code (4.65s)
Dex merge Error
Error: Cannot fit requested classes in a single dex file (# methods: 68003 > 65536). Try supplying a main-dex list
Compilation failed
 

DonManfred

Expert
Licensed User
Longtime User
Not a Bug.

Add
B4X:
#MultiDex: true
to your project
 
Upvote 1
Top