错误提示
Error:The number of method references in a .dex file cannot exceed 64K.
Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
解决办法
在app->build.gradle->defaultConfig中加入:
defaultConfig {
// 启用multidex支持
multiDexEnabled true
}