Open aapkanews77 opened 6 years ago
hello, did you find a solution to this? I have exactly same error code with exactly same source code.
thanks.
hello buddy, i have found the issue and resolved it on mu end. make sure you have following implement on your app gradle
implementation 'com.google.firebase:firebase-auth:16.0.3'
adding this worked for me
@Override public void onClick(View v) { EditText input=findViewById(R.id.input); FirebaseDatabase.getInstance().getReference().push().setValue(new ChatMessage(input.getText().toString(), FirebaseAuth.getInstance().getCurrentUser().getEmail())); input.setText(""); } });
// Please resolve my Problem that zzans can' access files