Method references #2630
Unanswered
Vendetta8247
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Yes, the limit is on the number of methods referenced as explained on this documentation page. I'm not sure about how it is counted exactly, but it is possible to avoid this failure by copying the changed/new smali files to a new folder before building. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I've stumbled upon an issue where dex is being overflowed.
Manual checking all .smali files led me to a result of actually 50k methods, not 65k.
Then I checked the Android studio APK Analyzer and found that there is a thing called referenced methods. Didn't meet this terminology before so wasn't sure what to do with it.
I have checked one of the files that is supposed to feature this referenced method and found that it is absent there.
So my question is: am I missing something about the reference methods? They are present in dex files afaiu but aren't present in the smali files. If I'm in the wrong spot - I'm sorry but not sure there is a better place to ask this :)
Beta Was this translation helpful? Give feedback.
All reactions