How to solve the error "Projects created at console.firebase.google.com must use the new Firebase Authentication SDKs"
<p>I am getting the following <strong>error</strong>:</p>

<blockquote>
  <p>Projects created at console.firebase.google.com must use the new
  Firebase Authentication SDKs available from
  firebase.google.com/docs/auth/</p>
</blockquote>

<p>Though I have included recent version firebase authentication in my gradle file:</p>

<pre><code>compile 'com.google.firebase:firebase-auth:9.0.2'
</code></pre>

<p>This code was working fine in one my firebase project. But after adding this into another project in firebase,I'm facing the error.Please help me out.</p>

<pre><code>            myFirebaseRef.createUser(
                    doctor.getEmail(),
                    doctor.getPass(),
                    new Firebase.ValueResultHandler&lt;Map&lt;String, Object&gt;&gt;() {
                        @Override
                        public void onSuccess(Map&lt;String, Object&gt; stringObjectMap) {
                            doctor.setId(stringObjectMap.get("uid").toString());
                            doctor.saveUser(myFirebaseRef);
                            Doctor_info doc=new Doctor_info();
                            doc.setGender(gender);

                            myFirebaseRef.child("doctor_info").push().setValue(doc);

                            myFirebaseRef.unauth();
                            Toast.makeText(getApplicationContext(), "Your Account has been Created", Toast.LENGTH_LONG).show();
                            Toast.makeText(getApplicationContext(), "Please Login With your Email and Password", Toast.LENGTH_LONG).show();

                            finish();
                        }
</code></pre>