I am trying to upload user profile image and store in firebase.My image successfully stores in firebase storage and in the user database.
When I upload the image it
You are getting the following error:
Load failed for com.google.android.gms.tasks.zzu@c0645c1
Because you are trying to display an image that does not exist. As I see in your database, the profileImageUrl property holds an image url that is not valid.
See the red line? What it actually holds is the address of an object from the memory and not an image url. This is happening because you are calling toString() method on the downloadUrl object. So the way you are get the donwload url is not correct. This is the correct way for getting the url. Once you get url of the image and you add it to the database and everything will work as expected.