after successful google authentication, app crashes while using real time database
问题 In my app, after a successful login with Google, it crashes when you get an instance of a firebase realtime database. In my code, the Google sign works fine after that and there are parameters to get user info and a button on which I have set an onClickListener to upload user data in a realtime database. onCreate method I have company_name = (EditText) findViewById(R.id.ip_company_name); mdatabase = FirebaseDatabase.getInstance().getReference(); val_btn = (Button) findViewById(R.id.btn