StorageException: An unknown error occurred, please check the HTTP result code and inner exception for server response

前端 未结 13 2303
执念已碎
执念已碎 2021-02-09 20:19

I use Firebase Storage to upfile. But it does not work THIS IS MY CODE.

FirebaseStorage storage = FirebaseStorage.getInstance();
StorageReference sto         


        
13条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-09 20:45

    The key to solving this problem is to enable Storage in the app's permissions. You should follow these steps:

    Settings -> Apps -> AppName -> Permissions -> Enable Storage
    

    Remember that the file should exist on the device.

提交回复
热议问题