T201016 Active Member Licensed User Longtime User Dec 3, 2022 #1 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 Click to expand...
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 Click to expand...
DonManfred Expert Licensed User Longtime User Dec 3, 2022 #2 Not a Bug. Add B4X: #MultiDex: true to your project Upvote 1
T201016 Active Member Licensed User Longtime User Dec 3, 2022 #3 thanks @DonManfred I didn't have to use this directive before, Upvote 0