【问题标题】:cannot find symbol method getDownloadUrl() on Firebase [duplicate]在 Firebase 上找不到符号方法 getDownloadUrl() [重复]
【发布时间】:2020-11-13 03:20:00
【问题描述】:

我想在我的应用程序中在 firebase 上显示图片,但出现此错误

enter image description here

【问题讨论】:

    标签: android firebase firebase-storage


    【解决方案1】:

    在图片中显示你正在使用


    downloadUrl = task.getResult();


    使用downloadUrl = task.getDownloadUrl();

    【讨论】:

    • "task.getDownloadUrl();"它不是
    猜你喜欢
    • 1970-01-01
    • 2020-02-08
    • 2018-11-08
    • 1970-01-01
    • 2019-05-31
    • 2018-11-06
    • 1970-01-01
    • 1970-01-01
    • 2020-10-19
    相关资源
    最近更新 更多