NoClassDefFoundError FirebaseOptions, android?

 ̄綄美尐妖づ 提交于 2019-12-02 05:45:08

NoClassDefFoundError

Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.

You should use downgrade version 9.0.0 instead of 9.2.1

compile 'com.google.android.gms:play-services:9.0.0'

And Add multidex

compile 'com.android.support:multidex:1.0.1'

Hope this help .

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!