[Solved] How to resolve method getDownloadUrl() [duplicate]

Try this: filepath.getDownloadUrl().addOnSuccessListener(new OnSuccessListener<Uri>() { @Override public void onSuccess(Uri uri) { //Do what you need to do with the URL } }).addOnFailureListener(new OnFailureListener() { @Override public void onFailure(@NonNull Exception exception) { // Handle any errors } }); 0 solved How to resolve method getDownloadUrl() [duplicate]