5 ms·
No, but older Android versions have a maximum 64000 method limit. I think it has been fixed for later versions, but I am really not sure. There have been some
by thefreeman 12y ago
No, but older Android versions have a maximum 64000 method limit. I think it has been fixed for later versions, but I am really not sure. There have been some blog posts about Facebook's (controversial) attempts to work around this limit: https://www.facebook.com/notes/facebook-engineering/under-the-hood-dalvik-patch-for-facebook-for-android/10151345597798920 https://www.facebook.com/notes/facebook-engineering/under-th...
- cypher543 12y agoAndroid 4.0 introduced a new set of Dalvik instructions that supported larger methods IDs, but they were never used and were eventually removed. ART may have lifted the method limit, but I haven't seen any specific mention of it.
- jc4p 12y agoART does not lift it. I was at the I/O session where the ART team explicitly stated that.
- ZoFreX 12y agoNot older. All. It's a limitation of the file format, not the runtime. It's a common misconception that it's fixed in later versions, because Facebook ran into a very similar (but different) problem that is fixed on newer devices (the one you linked to).