Scroll

How to deal with building failure caused by an error “Too many method references; max is 65536”

Errors like the following in log file are caused by exceeding the upper limit of methods for Android.

- “Too many method references; max is 65536”

The following will work.

  • Divide Google Play Services
  • Use Multi-dex support.

Reference: https://developer.android.com/studio/build/multidex.html

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk