Why can't chrome read local html file on android?

5k views Asked by At

When I open a html file the chrome( on android ) says that file is not readable. But I have given permissions to file and media for chrome.My chrome browser when I open a html file

Please help me to solve this! Thank you!

1

There are 1 answers

0
ykostov On

A solution is to use the "Desktop site" option in Chrome - it works on my machine.

I see you try to open a file from a SD card. You can copy them to the internal storage as the internal storage is not restricted and you can navigate to any folder from chrome. (for example - Android/data/com.android.chrome/files/download)

However, I strongly suggest using Desktop Chrome and viewing the html via "Developer Tools".