Firebase app crashes with "unfortunately stopped"
<p>I tried about 100 times to solve this problem but still the same error:</p>

<blockquote>
  <p>unfortunately stopped</p>
</blockquote>

<p>Here are my deps:</p>

<pre><code>dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.4.0'
    compile 'com.android.support:design:23.4.0'
    compile 'com.firebase:firebase-client-android:2.5.0'
}
apply plugin: 'com.google.gms.google-services'
dependencies {
    classpath 'com.android.tools.build:gradle:2.1.0'
    classpath 'com.google.gms:google-services:3.0.0'
</code></pre>

<p>Code:</p>

<pre><code>public class MainActivity extends AppCompatActivity {
TextView textView;
Firebase rootRef =  new Firebase("https://fir-3-e5ce7.firebaseio.com/condition");

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);



    Firebase.setAndroidContext(this);
    Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
    setSupportActionBar(toolbar);



    FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
    fab.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View view) {
            Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
                    .setAction("Action", null).show();
        }
    });

    textView = (TextView)findViewById(R.id.firebasedata);

    rootRef.child("message").addValueEventListener(new ValueEventListener() {

        @Override
        public void onDataChange(DataSnapshot snapshot) {
           String superr = (String) snapshot.getValue();
            textView.setText(superr);

        }

        @Override public void onCancelled(FirebaseError error) { }
    });
}
</code></pre>

<p>JSON file is also downloaded and placed in src folder. Internet permission is added also.</p>

<p>Google services and Repository is Version 31. Android Studio 2.1</p>

<p>So what is the problem?</p>