eclipse建立android项目,没法正常预览布局文件的相关问题

eclipse建立android项目时,预览layout.xml文件时提示: This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in,致使没法正常预览布局文件。android

问题的根源在于SDK版本与ADT版本不匹配。问题解决办法以下:eclipse

方法一:布局

找到选择android版本按钮,改变android版本便可。以下图:google

方法二:spa

Help --> Install New Softwares...,在Work with 中输入以下连接:xml

    https://dl-ssl.google.com/android/eclipse/blog

Eclipse会弹出提示有更新,可是发现很是慢?ip

打开 C:\Windows\System32\drivers\etc\hosts ,新增以下内容:ssl

203.208.48.134 dl-ssl.google.comget

相关文章
相关标签/搜索