1. Are you ready for the Galaxy S20? Here is everything we know so far!

No more able to open HTML files on Chrome with Android 11

Discussion in 'Android Lounge' started by jchirag21, Jan 8, 2021.

  1. jchirag21

    jchirag21 Lurker
    Thread Starter

    Hi,

    I have a business scenario where I have to open an HTML with browser on my Android Google Pixel 3XL file.
    I have been using below method to do the same
    By pointing the browser at the file you want with a URL of the format
    file:///path/to/file.html
    but after upgrading my Android to 11 the method is no longer working , getting below error

    Access to the file was denied
    The file at file:///sdcard/download/UniversalLink.html is not readable. It may have been removed, moved, or file permissions may be preventing access.

    ERR_ACCESS_DENIED


    Can anyone help me how I can open html file now with Android 11
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Dannydet

    Dannydet Extreme Android User

    You can put your documents into the folder Android/data/com.android.chrome/files/Download/ in the internal storage. It's absolute path is /storage/emulated/0/Android/data/com.android.chrome/files/Download/ or /sdcard/Android/data/com.android.chrome/files/Download/. This is the location where Chrome stores any downloaded files and therefore, this the only location where Chrome can access the files. But remember, uninstalling Chrome will delete this directory.
     
Loading...

Share This Page

Loading...