javascript - Application Error Is a directory (file:///#android_asset/www/index.html) -


I am using phonegap to develop an app on Android, when I check it on my phone, This error is found The application error is a directory (file: ///#android_asset/www/index.html) I get the error only when I do not have an internet connection on my phone.

Any suggestions?

This means, in your index.html, you are using the resource for which Internet access Need your index.html and search for any CSS, Javascript or Cordova file that is directly connected to the internet. If so, you should download the related file and make it local

I had the same problem when I added my own jazzary mobile JS file directly like this:

  & Lt; Script type = "css / javascript" src = "http: /code / jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.js">   

What I did, the jquery.mobile-1.3.0.js file was downloaded and it was locally placed inside my www folder. He fixed my problem

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -