Android Question CODE TOO LARGE Error Message


Licensed User
Hi guys,

Thank you Erel for pointing in the right direction - worked BUT THEN this:

Compiling generated Java code. Error
B4A line: 3659
End Sub
javac 1.7.0_76
src\sanjaya\app\ error: code too large for try statement
catch (Exception e) {
1 error

What does it mean and any way to fix this?



Licensed User
Thank you LEMONISDEAD and NJDUDE for the pointers

Going to try breaking up the code

But this message never appeared before moving the Hard Drive onto a new Computer


Syd Wright

Well-Known Member
Licensed User
The Try / Catch / Endtry is apparently hiddenly added by the Rapid Debugger and not visibly added to the B4A code.
I wonder why that is necessary. It forces developers (like me) to re-write B4A code which normally executes fine in Release mode. If the developper does not find the need to add Try/Catch/Endtry's to a long sub, then why should the Debugger have to do this?!

Both Debuggers still also do other things (in B4A V6.50) that causes the infamous "too many constants" error to occur while debugging a very large app.