Stack Overflow archive
1 score

Does the R.java file declarations consume spaces from the 64K limit?

score
1
question views
78
license
CC BY-SA 3.0

R.java does not contain methods, only static fields. There is a 65,536 limit on both methods and fields but they are separate. 99% of the time you will hit the method limit before hitting the field limit.

If you need it, I added the functionality to count the number of fields in the dex-method-counts library.

Originally posted on Stack Overflow. Public user contributions are licensed under Creative Commons Attribution-ShareAlike.