Android Question Project won't compile on B4a v11-50

FrostCodes

Active Member
Licensed User
Hello everyone. I upgraded my B4A today to v11-50 I have not been able to compile my project ever since.
The project was working perfectly well this afternoon.

I keep getting this error... I use firebase in the project by the way.


B4X:
Compiling generated Java code.    (26.82s)
Finding libraries that need to be dexed.    (0.15s)
Dex code    (13.93s)
Dex merge    Error
Error: Cannot fit requested classes in a single dex file (# methods: 75493 > 65536). Try supplying a main-dex list
Compilation failed
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
can this flag be turned on by default
This flag shouldn't be added when it isn't needed as it makes the compilation a bit slower.

one of my staff can forget about this and end up spending hours debugging
The first thing to do is to search the site. The developer would have found the solution immediately: https://www.b4x.com/android/forum/p...ot+fit+requested+classes+in+a+single+dex+file

It is not trivial for the IDE to know the cause of the error in this case.
 
Upvote 0
Top