Firebase Storage is giving StorageException while trying to upload images

后端 未结 14 1921
北海茫月
北海茫月 2021-01-13 03:10

I have been trying to upload images to the new firebase storage service . It is throwing StorageException

E/StorageException: StorageException has occ

14条回答
  •  一生所求
    2021-01-13 04:00

    I was also getting the same exception but got over with it by simply granting Storage Permission to app from:

    Settings > Apps > {My App} > Permissions > Enable Storage

    The above part can also be done through Java code, I learned it in a tutorial for Android Marshmallow. Also, make sure to declare permission for INTERNET and READ_EXTERNAL_STORAGE in Android Manifest file. However, if you are still getting the exception, try updating play services as well.

提交回复
热议问题