【发布时间】:2017-10-05 05:35:36
【问题描述】:
所以我想基本上从 Firebase 存储中获取图像(我将规则设置为公开)。
这就是我所拥有的
ImageView image = (ImageView)findViewById(R.id.imageView);
Glide.with(this)
.load("https://firebasestorage.googleapis.com/v0/b/test-7c916.appspot.com/o/images.jpg?alt=media&token=b207cb11-9ad5-48e3-86ac-1dcb07ee6013")
.into(image);
我没有使用 https 链接。我想使用存储参考。但是每次我尝试使用存储引用时,我的应用程序都会崩溃。 请帮忙。
就像 .child() 方法一样。
【问题讨论】:
-
您能否提供您的应用程序崩溃的错误日志。因此,它将帮助我们更快地计算崩溃。
标签: android firebase firebase-storage android-glide