Android中"Too many field references"的确切含义是什么?

What is the exact meaning of "Too many field references" in Android?

我可以在 Android studio 中通过分析 apk 查看 classes.dex 文件。

例如

This dex file defines 9214 clasees with 48592 methods, and references 57284 methods.

如果由于 dex 错误而导致构建失败,我将看到以下错误消息。

Too many field references: 70000; max is 65536.
You may try using --multi-dex option.

此错误消息中的 70000 究竟是什么意思?
定义方法的数量?或参考方法的数量?

如果答案是多种方法,是否可以做如下结果?

This dex file defines 9214 clasees with 60000 methods, and references 70000 methods.

我已经阅读了下面的句子。

The Dalvik Executable specification limits the total number of methods that can be referenced within a single DEX file to 65,536

(来自 Document

但是我不知道65536到底是什么意思
请告诉我答案。谢谢 :)

您必须为您的应用程序启用 multidex。 参考:https://developer.android.com/studio/build/multidex

指南:How to enable multidexing with the new Android Multidex support library

此错误消息中的 70000 究竟是什么意思? 答:您的 apk 中的方法总数(也包括库中的方法)。