昨天下午搭建了Android开发环境,可是天公不作美——运行新建的Android项目总是提示如下问题:
[2014-10-30 15:41:47 - ] The connection to adb is down, and a severe error has occured.
[2014-10-30 15:41:47 - ] You must restart adb and Eclipse.
[2014-10-30 15:41:47 - ] Please ensure that adb is correctly located at '<--此处显示adb.exe的全路径-->' and can be executed.
努力了大半天总算是解决问题了,现总结一下:
1、关闭eclipse,打开Windows任务管理器,查看进程中是否有adb.......
阅读全文
老式关闭当前页面jswindow.opener=null;window.open('','_self');window.close(); 但是关
闭 Chrome 浏览器会有问题 Scripts may close only the windows that were opened by it.
搜了半天居然没有答案;所以我自己发上来以便别人需要 关闭当前页面js
open(location, '_self').close();
阅读全文