title: Firebase Database Error at Uploading
body: <p>I am having some issues at putting files into the Firebase Database. I am getting error at this line: <code>String download_url = task.getResult().getDownloadUrl().toString();</code>, mentioning "error: cannot find symbol method getDownloadUrl()".</p>
  
  <p>Here is the code:
  <a href="https://pastebin.com/ESXBiZ9a" rel="nofollow noreferrer">https://pastebin.com/ESXBiZ9a</a></p>
  
  <p>And my Firebase dependecies are:</p>
  
  <pre><code>implementation 'com.google.firebase:firebase-database:16.0.1'
  implementation 'com.google.firebase:firebase-storage:16.0.1'
  </code></pre>
  
  <p>Could anyone point where I have to change, maybe the method, in order to work?</p>