title: How to delete image from Firebase Storage?
body: <p>Can you help delete an image from Firebase Storage. String <code>deleteImage</code> holds the full url of where the image is located in the Firebase storage.</p>
  
  <p>My code is as follows, but it does not delete the image:</p>
  
  <pre><code>StorageReference deleteFile = storageReference.child(deleteImage);
              deleteFile.delete().addOnSuccessListener(new OnSuccessListener&lt;Void&gt;() {
                  @Override
                  public void onSuccess(Void aVoid) {
                      Toast.makeText(EditProfile.this, "Previous Image Deleted", Toast.LENGTH_SHORT).show();
                  }
              });
  </code></pre>