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:
try to solve...
in Gradle file
multiDexEnabled true
compile 'com.android.support:multidex:1.0.1'
Manifest file
application tag add this line
android:name="android.support.multidex.MultiDexApplication"
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestIdToken(getString(**R.string.default_web_client_id**))
.requestEmail()
.build();
In my same case i changed requestIdToken and it worked.
Using latest Google Play services but was not working. For me this procedure is working:
Updated my Application class:
public class App extends Application {
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
}
Updated build.gradle
file:
defaultConfig {
...
multiDexEnabled true
}
Included dependencies:
dependencies {
compile 'com.android.support:multidex:1.0.0'
}