title: Deleting file from Firebase Storage using URL
body: <p>I am trying to delete a file from Firebase Storage using the files URL.
  My issue is that the getReferenceFromUrl() can not be resolved.</p>
  
  <p>Sample code here:</p>
  
  <pre><code> StorageReference mStorageRef;
      String storageurl = "http:sample"
      mStorageRef = FirebaseStorage.getInstance().getReference();
          StorageReference ref2 = mStorageRef.getReferenceFromUrl(storageurl);
          ref2.delete().addOnSuccessListener(new OnSuccessListener&lt;Void&gt;() {
              @Override
              public void onSuccess(Void aVoid) {
                  // File deleted successfully
                  Toast.makeText(getContext(), "file deleted", Toast.LENGTH_SHORT).show();
                  Log.d(TAG, "onSuccess: deleted file");
              }
          }).addOnFailureListener(new OnFailureListener() {
              @Override
              public void onFailure(@NonNull Exception exception) {
                  // Uh-oh, an error occurred!
                  Log.d(TAG, "onFailure: did not delete file");
              }
          });
  </code></pre>