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

后端 未结 15 1669
渐次进展
渐次进展 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:27

    dependencies {
    compile 'com.android.support:support-v4:25.0.1'
    compile 'com.google.firebase:firebase-ads:9.0.2'
    compile files('libs/StartAppInApp-3.5.0.jar')
    compile 'com.android.support:multidex:1.0.1'    
    }  
    

    apply plugin: 'com.google.gms.google-services'.

提交回复
热议问题