

这个主要是用来信任所有,但是发现搞完了这个还是不行,然后我有点懵逼,直接在浏览器打开居然也是一片空白,机智的我f12开启调试模式发现居然有17个错,基本上都是重复的这个
Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
百度了下大概是说不能跨域需要在websetting设置一下这个属性,ok终于解决
webSetting.setAllowUniversalAccessFromFileURLs(true);另外多说几句可能有的朋友说关于这个assets如何创建的,选中mian右键

