When making 64-bit Android builds (tested using 3540 and 3545), trying to use a webview to display a local html file fails:
Webpage not available The webpage at content://PACKAGE/assets/FILENAME.html could not be loaded because: net::ERR\_FILE\_NOT\_FOUND
(where “PACKAGE” is the package identifier for my app and “FILENAME” is the name of the html file)
My html file is in the root directory of my project, though I tried moving it to a subdirectory and got the same result.
Also, I have usesPermissions = { “android.permission.INTERNET” } in my build.settings, even though it should not be necessary in this case. (I also tried removing it but it did not change the result.)
Note that REMOTE content DOES display (as in Corona’s webview sample that loads the public Corona website). It is only LOCAL content that does not.
There is one other topic about this issue from last week:
https://forums.coronalabs.com/topic/76507-html-file-not-found-on-run-time/
but no one has responded.