Reputation: 388
I am using a WebView in a fragment to only display animated gifs from my assets. Whenever I load a new url by pressing a button I get the error: Unknown chromium error: -6
Is there a specific cause to this?
Upvotes: 2
Views: 4728
Reputation: 1617
I could say the reason is the URL is not found for example I am using phonegap , and when I load a resource by $.get(myUrl......)
It gives me the same error, when the path is resolved correctly then the problem will be solved.
Also the file should be read as file:///android_asset/www/myUrl
Your code would be helpful
Upvotes: 9