Getting Exception java.lang.NoClassDefFoundError: com.google.firebase.FirebaseOptions after updating to the new firebase

后端 未结 15 1497
渐次进展
渐次进展 2020-11-22 09:56

I have updated my application to the new firebase using the this and now when i compile my project i get the following exception.

Here is my logcat:

15条回答
  •  长发绾君心
    2020-11-22 10:38

    Before doing all those hectic solutions, try to Clean Project or Rebuild Project from Android Studio.

    java.lang. NoClassDefFoundError
    

    Exceptions is thrown when you change any Class name in your project but it couldn't get the changes you made in Runtime.

提交回复
热议问题