因此,我基本上想从Firebase存储中获取图像(我将规则设置为public)。
这就是我所拥有的
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);
Run Code Online (Sandbox Code Playgroud)
而且我不是使用https链接。我想使用存储参考。但是每次我尝试使用存储引用时,我的应用都会崩溃。请帮忙。
就像.child()方法一样。