Android webview直接打包angular项目的html(file:///android_asset/www/assets/index.html),访问时报
Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
解决:
webView.getSettings().setAllowUniversalAccessFromFileURLs(true);
webView.getSettings().setAllowUniversalAccessFromFileURLs(true);
webView.loadUrl("file:///android_asset/www/assets/index.html");
参考
http://blog.csdn.net/a13069730106/article/details/54290334