[转] Android Webview: “Uncaught TypeError: Cannot read property 'getItem' of null

原文地址:https://stackoverflow.com/a/33080057
解决方案:

1
2
WebSettings settings = webView.getSettings();
settings.setDomStorageEnabled(true);

坚持原创及高品质技术分享,您的支持将鼓励我继续创作!