http://stackoverflow.com/questions/37360126/getting-exception-java-lang-noclassdeffounderror-com-google-firebase-firebaseop This worked for me: If you haven't already, update your 'Google Play Services' to Revision 30 from Android SDK Manager > Extras. Android SDK Manager > Extras > Google Play Services And then add the line compile 'com.android.support:multidex:1.0.1' to your dependancies (or simply remove multiDexEnabled true if not required) Add this attribute to the application tag in manifest: android:name="android.support.multidex.MultiDexApplication" If you already have a custom application class defined in Android Manifest, extend it from MultiDexApplication instead of Application
java.lang.NoClassDefFoundError: com.google.firebase.FirebaseOptions
最新推荐文章于 2024-03-02 10:51:58 发布