Sunday, 15 March 2015

android - The code of method XYZ is exceeding the 65535 bytes limit -



android - The code of method XYZ is exceeding the 65535 bytes limit -

i have created android application, in utilize more 25,000 lines in 1 method, so, gives error - the code of method xyz exceeding 65535 bytes limit

how resolve ?

suppose code is

your function() { if(a == 0) { //lines of code } else { //lines of code } }

above function exceeds limit can this

your function() { if(a == 0) { //call a0 function } else { //call a!0 function } } a0() { //lines of code == 0 } a!0() { //lines of code != 0 }

hope helps you...

android memory-management methods

No comments:

Post a Comment