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
转载请注明原文地址: https://ju.6miu.com/read-677451.html