Class file for com.google.android.gms.internal.zzaja not found

后端 未结 17 1814
北海茫月
北海茫月 2020-12-03 06:34

I am using Fragment for the designing of the Firebase simple login registration.

I get error in the OnCreateView() method on initializing



        
17条回答
  •  鱼传尺愫
    2020-12-03 07:05

    If you are using more than one libraries of firebase then make sure that the version are same.

    Before:
      compile 'com.google.firebase:firebase-database:9.2.0'
        compile 'com.google.firebase:firebase-storage:9.2.0'
        compile 'com.firebaseui:firebase-ui-database:0.4.0'
        compile 'com.squareup.picasso:picasso:2.5.2'
        compile 'com.google.firebase:firebase-auth:9.0.2'
    
    After:  compile 'com.google.firebase:firebase-database:9.2.0'
        compile 'com.google.firebase:firebase-storage:9.2.0'
        compile 'com.firebaseui:firebase-ui-database:0.4.0'
        compile 'com.squareup.picasso:picasso:2.5.2'
        compile 'com.google.firebase:firebase-auth:9.2.0'
    

    in my case i have used auth with 9.0.2 .So i changed to 9.2.0

提交回复
热议问题