最近 新建 一个android工程,res/layout 下的xml布局文件无法预览了;
总是报这个错:
This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
上网查了一下,需要更新Eclipse插件:
Help --> Install New Softwares...,在Work with 中输入如下链接:
https://dl-ssl.google.com/android/eclipse/
Eclipse会弹出提示有更新,但是有没有发现非常慢?
打开 C:\Windows\System32\drivers\etc\hosts ,新增如下内容:
203.208.48.134 dl-ssl.google.com
再重启Eclipse试试上面的步骤,是不是会快很多?
遇到Android工程中res/layout下的xml布局文件无法预览且速度慢的问题时,可以通过更新Eclipse插件并修改hosts文件来提升预览速度。具体步骤包括:进入帮助菜单安装新软件,输入链接下载最新版本的Eclipse插件;接着,在C:WindowsSystem32driversetchosts中新增DNS记录加速访问;最后重启Eclipse尝试上述操作,预览速度将明显提高。
498

被折叠的 条评论
为什么被折叠?



