Android Question Slow Compile

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

My code compiling so slow after add Try-Catch-End Try each function.

When i remove error handling then compiling fast .

Any suggestions ?
 

ykucuk

Well-Known Member
Licensed User
Longtime User
Release mode

B4X:
B4A version: 6.30 BETA #1
Parsing code.    (0.29s)
Compiling code.    (0.26s)
Compiling layouts code.    (0.01s)
Organizing libraries.    (0.00s)
Generating R file.    (0.35s)
Compiling generated Java code.    (14.74s)
Convert byte code - dex.    (170.88s)
Packaging files.    (3.11s)
Copying libraries resources    (0.17s)
    Found 4 resource files.
Signing package file (private key)    (2.23s)
ZipAlign file.    (0.23s)
Installing file to device.    (19.69s)
    Device serial: 4ee5cc52
Completed successfully.
Debug Mode
B4X:
B4A version: 6.30 BETA #1
Parsing code.    (0.31s)
Compiling code.    (0.48s)
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.00s)
Generating R file.    (0.30s)
Compiling generated Java code.    Error
B4A line: 5014
SetDesign
javac 1.8.0_101
src\sentio\bidlaw\dashboard.java:18845: error: code too large for try statement
       catch (Exception e2390) {
       ^
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…