title: How to get asset file path in Xamarin?
body: <p>I have <code>data.xlsx</code> file in <code>Assets</code> folder and need to get its path to apply some library.</p>
  
  <p>Found several solutions here but neither works for me. For example -
  <a href="https://stackoverflow.com/questions/21775060/file-not-found-exception-in-xamarin-program">File Not Found Exception In Xamarin program</a></p>
  
  <p>I tried to use <code>file:///android_asset/data.xlsx</code> but here is no file too.</p>
  
  <p>I checked the path with: <code>System.IO.File.Exists(filePath);</code></p>
  
  <p>So how to get path to this file? Maybe I have to place it in different folder?</p>
  
  <p><strong>Update</strong>: possibly I can solve it this way: <a href="https://stackoverflow.com/questions/6186866/java-io-filenotfoundexception-this-file-can-not-be-opened-as-a-file-descriptor/33359656#33359656">java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed</a></p>
  
  <p>But I can't find where to place it.</p>
  
  <p><strong>Update</strong>: this question is about Java and this is unclear how to use this solution in Xamarin.Android: <a href="https://stackoverflow.com/questions/8474821/how-to-get-the-android-path-string-to-a-file-on-assets-folder">How to get the android Path string to a file on Assets folder?</a></p>