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

相關文章
相關標籤/搜索