随笔分类 -  解决方案

摘要:前景:今天在开发过程中,发现我js文件里面的方法没有响应,后来发现是js在html中引入的位置不对。我在head中加载了js,导致我js中的document.getElementById方法失效。因为html中是按顺序读取运行的,那么head中的js是无法获取后者bo... 阅读全文
posted @ 2016-03-23 15:05 Mr.Kay 阅读(1020) 评论(0) 推荐(0)
摘要:如题:如果发起HTTP请求提示如下错误:The resource could not be loaded because the App Transport Security policy requires the use ofa secure connection.... 阅读全文
posted @ 2016-01-11 19:45 Mr.Kay 阅读(373) 评论(0) 推荐(0)
摘要:情景描述:在调用drawable文件中的图片资源时,偶尔会遇到图片资源报错的问题,明明在preview中都能显示,一旦编译就报错,报错提示如下:error: Error: No resource found that matches the given name (a... 阅读全文
posted @ 2015-09-30 16:43 Mr.Kay 阅读(1556) 评论(0) 推荐(0)